1. Technical Field
The disclosure relates to electronic devices and, particularly, to an electronic device capable of viewing displayable medias and a method thereof.
2. Description of Related Art
Nowadays, many electronic devices, e.g., mobile phones, digital photo frames, electronic readers (e-reader), are capable of storing and displaying electronic documents (e.g., digital pictures, digital texts, etc). Usually, electronic documents are stored in a file. For example, a file can be an album including a plurality of digital pictures. When viewing pictures in an album, if a user wants to view another album, the user must finish paging through the remaining pictures in the present album first, or return to the operation menu and enter the commands to select and open another album, which is inconvenient and time consuming.
Therefore, it is necessary to provide an electronic device and a method to overcome the above-identified deficiencies.
The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the electronic device. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Referring to
The interface unit 60 is configured to connect to an external electronic device (not shown). The external device can be a storage card (for example, a secure digital (SD) card, a compact flash (CF) card) or another electronic device (for example, a digital camera, a mobile phone, or a computer).
The user input unit 50 is configured to generate instructions in response to user operations. The user input unit 50 can be an input key (e.g., button), a knob, and the like. The power source 70 is configured to provide power to elements of the electronic device 1, such as the processing unit 10 and the display unit 30.
The storage unit 40 is configured to store displayable media such as digital pictures. The display unit 30 is configured to display the media. In the embodiments, digital pictures (hereinafter pictures) are used as an example to illustrate the present device and method. Further, a file containing a plurality of pictures is referred to as an album.
The motion detector 20 is configured for detecting and differentiating motions of the electronic device and producing corresponding motion signals indicating the motions of the electronic device 1. Specifically, the motion detector 20 is configured to recognize pre-determined control motions. When a pre-determined control motion is detected, a function command that is associated with that motion will be activated. For example, in this embodiment, the motion detector 20 is capable of detecting rotation and direction of rotation of the electronic device 1 which can be associated with view next picture and view previous picture commands in a picture viewing mode or view next album and view previous album in an album viewing mode. In the exemplary embodiment, the motion detector 20 can be an accelerometer.
The processing unit 10 includes a signal receiving module 101 and a view control module 102.
The signal receiving module 101 is configured for receiving the motion signals produced by the motion detector 20. The view control module 102 is configured for determining the motion of the electronic device 1 according to the motion signals and controlling which picture from which album is displayed according to the motion of the electronic device 1.
Referring also to
In detail, if the view control module 102 determines the motion of the electronic device 1 is the first control motion, the view control module 102 controls the display unit 30 to display the next picture; and if the view control module 102 determines the motion of the electronic device 1 is the second control motion, the view control module 102 controls the display unit 30 to display the previous picture.
If the view control module 102 determines that the motion of the electronic device 1 is the third control motion, the view control module 102 controls the display unit 30 to display a picture in the next album; and if the view control module 102 determines that the motion of the electronic device 1 is the fourth control motion, the view control module 102 controls the display unit 30 to display a picture in the previous album. In the exemplary embodiment, the view control module 102 controls the display unit 30 to display a first picture of the previous album or the next album when the motion of the electronic device is the second two control motion.
In another exemplary embodiment, the view control module 102 controls the display unit 30 to display a picture of a next album or a previous album if the electronic device is rotated about a horizontal axis of the electronic device 1, and controls the display unit 30 to display a next picture or a previous picture if the electronic device 1 is rotated about a vertical axis of the electronic device 1. In further another exemplary embodiment, the view control module 102 controls the display unit 30 to display a random picture of the previous album or the next album when the motion of the electronic device is the last two control motion.
Referring to
In step S402, the signal receiving module 101 receives the motion signals and the view control module 102 determines control motions of the electronic device 1 executed by the user according to the motion signals.
If the motion of the electronic device 1 is the first two control motion, in step S403, the view control module 102 controls the display unit 30 to display a next picture or a previous picture. For example, if the electronic device 1 is rotated toward user's right, the view control module 102 controls the display unit 30 to display the next picture, and if electronic device 1 is rotated toward user's left, the view control module 102 controls the display unit 30 to display the previous picture.
If the motion of the electronic device 1 is the second two control motion, in step S404, the view control module 102 controls the display unit 30 to display a picture of a next album or a picture of a previous album. For example, if top of the electronic device 1 is rotated away from user about horizontal axis, the view control module 102 controls the display unit 30 to display a picture of the next album, if top of the electronic device 1 is rotated toward user about the horizontal axis of the electronic device, the view control module 102 controls the display unit 30 to display a picture of the previous album.
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 preferred or exemplary embodiments of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
200810303789.2 | Aug 2008 | CN | national |
This application is related to a co-pending U.S. patent application filed concurrently herewith whose Attorney Docket No is US 20395 and entitled “ELECTRONIC DEVICE AND METHOD FOR VIEWING DISPLAYABLE MEDIAS,” which is incorporated herein in its entirety by reference.