1. Field of the Invention
The invention relates to a method for changing a main page automatically and, more particularly, to a method for changing a main page automatically according to a current location where a portable electronic device is located on.
2. Description of the Prior Art
As technology advances and develops, various portable electronic devices including a mobile phone, a personal digital assistant, a tablet computer, a notebook computer, and so on are considered a necessity by a lot of people in their daily lives. At present, a user always installs various applications in his/her portable electronic device, so as to satisfy different user needs. Due to the limited size of a display, the applications will be distributed in different pages if the user installs large applications in the portable electronic device. Since the user may use different applications at different locations, he/she needs to flip the pages manually to find the desired application. The aforesaid operation is quite inconvenient for the user.
The invention provides a portable electronic device, a method for changing a main page automatically and a computer readable storage medium, so as to solve the aforesaid problems.
According to the claimed invention, a portable electronic device comprises a display unit for displaying a main page; a positioning unit for receiving a positioning signal; an input unit for setting N predetermined locations and N application groups, each of the N predetermined locations being corresponding to one of the N application groups, each of the N application groups comprising at least one application, N being a positive integer; and a processing unit electrically connected to the display unit, the positioning unit and the input unit, the processing unit being used for determining a current location where the portable electronic device is located on and comparing the current location with the N predetermined locations, the processing unit controlling the display unit to display an i-th application group corresponding to an i-th predetermined location in the main page when the current location is identical to the i-th predetermined location of the N predetermined locations, i being a positive integer smaller than or equal to N.
According to the claimed invention, the portable electronic device further comprises a storage unit electrically connected to the processing unit, the storage unit is used for storing a look-up table and the at least one application, and the look-up table records the N predetermined locations and the N application groups.
According to the claimed invention, a method for changing a main page automatically adapted for a portable electronic device comprises steps of setting N predetermined locations and N application groups, wherein each of the N predetermined locations is corresponding to one of the N application groups, each of the N application groups includes at least one application, and N is a positive integer; determining a current location where the portable electronic device is located on; comparing the current location with the N predetermined locations; and controlling a display unit of the portable electronic device to display an i-th application group corresponding to an i-th predetermined location in the main page when the current location is identical to the i-th predetermined location of the N predetermined locations, wherein i is a positive integer smaller than or equal to N.
According to the claimed invention, the method further comprises step of recording the N predetermined locations and the N application groups in a look-up table.
According to the claimed invention, a computer readable storage medium is used for storing a set of instructions and the set of instructions executes steps of allowing a user to set N predetermined locations and N application groups, wherein each of the N predetermined locations is corresponding to one of the N application groups, each of the N application groups includes at least one application, and N is a positive integer; determining a current location where a portable electronic device is located on; comparing the current location with the N predetermined locations; and controlling a display unit of the portable electronic device to display an i-th application group corresponding to an i-th predetermined location in a main page when the current location is identical to the i-th predetermined location of the N predetermined locations, wherein i is a positive integer smaller than or equal to N.
According to the claimed invention, the set of instructions executes step of recording the N predetermined locations and the N application groups in a look-up table.
As mentioned in the above, a user can set a plurality of locations (e.g. company, home, etc.) and a plurality of application groups corresponding to the locations in the portable electronic device. When the user carries the portable electronic device to a specific location set therein and a positioning function has been turned on, the display unit of the portable electronic device will display an application group corresponding to the specific location in the main page. Accordingly, the user can use the applications, which applications he/she often uses at the specific location, in the main page immediately without flipping the pages. Therefore, the invention can improve the convenience of operating the portable electronic device for the user.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Referring to
As shown in
The display unit 10 is used for displaying a main page 100, as shown in
As step S10 shown in
Afterward, as step S12 shown in
As shown in
It should be noted that the control logic of the method for changing the main page automatically shown in
As mentioned in the above, a user can set a plurality of locations (e.g. company, home, etc.) and a plurality of application groups corresponding to the locations in the portable electronic device. When the user carries the portable electronic device to a specific location set therein and a positioning function has been turned on, the display unit of the portable electronic device will display an application group corresponding to the specific location in the main page. Accordingly, the user can use the applications, which applications he/she often uses at the specific location, in the main page immediately without flipping the pages. Therefore, the invention can improve the convenience of operating the portable electronic device for the user.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
102143289 | Nov 2013 | TW | national |