1. Technical Field
The present disclosure relates to data management and, particularly, to an electronic device with touch input and method for transmitting data based on the touch input.
2. Description of Related Art
Touch-enabled devices are in widespread use. However, if, during playback or display of content, transfer of the content to another device is desired, the current operation often needs to be abandoned, which is inconvenient.
Therefore, it is desirable to provide an electronic device and a method to overcome the described limitations.
Many aspects of the present disclosure should be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Embodiments of the present disclosure will now be described in detail, with reference to the accompanying drawings.
Referring to
Referring to
The processing unit 20 includes a contact detection module 201, a function determination module 202, and an execution module 203. The contact detection module 201 receives the contact signals from the touch screen 10 and detects a corresponding display contact. The function determination module 202 determines a function corresponding to the detected display contact according to the display contact-function relationships. The execution module 203 executes the determined function.
The display contact-function relationships can be provided as a system default setting. For example, a display contact comprising contact for a predetermined time and then moving contact can be recognized as representing data transmission in the system default setting. In the embodiment, the processing unit 20 further includes a display contact definition module 204 for defining the display contact-function relationships. The electronic device 1 further provides a definition mode allowing pre-defining of the display contact-function relationships. For example, the electronic device 1 provides an icon or menu item allowing entry to definition mode. When the electronic device 1 enters the definition mode, the display contact definition module 204 directs the touch screen 10 to display icons of the electronic device 1 for selection, requests definition of the display contact for a selected function, and stores the defined display contact associated with the function in the storage unit 30.
Referring to
The processing unit 20 further includes a display content determination module 205, and a recipient selection module 206. Referring also to
As shown in
Therefore, in the embodiment, when the user enjoys one electronic file and wants to transmit the electronic file to other people, he/she can transmit the electronic file to the selected people by touching the touch screen 1 directly.
If not, the process returns to step S501, if yes, in step S502, the function determination module 202 determines the function corresponding the display contact is a data transmitting function.
In step S503, the display content determination module 205 determines an electronic file displayed on the touch screen currently, namely the display content determination module 205 determines the currently active electronic file.
In step S504, the recipient selection module 206 determines at least one recipient receiving the electronic file according to user's selection. In detail, the recipient selection module 206 directs the touch screen 10 to display an address list for selection, and determines at least one recipient according to the user's selection from the address list.
In step S505, the execution module 203 transmits the electronic file determined by the display content determination module 205 to the at least one recipient determined by the recipient selection module 206.
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages, the examples hereinbefore described merely being exemplary embodiments of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
99124908 | Jul 2010 | TW | national |