Page navigation method and electronic device
An electronic apparatus and a page navigation method thereof are provided. The page navigation method includes obtaining first navigation information from a first information source, and obtaining second navigation information from a second information source, generating a first page navigation command based on the first navigation information, and generating a second page navigation command based on the second navigation information, and executing the first page navigation command and the second page navigation command.
1. A page navigation method, comprising:
displaying an active focus on a first user interface (UI) element and a first candidate focus on a second UI element on a screen;
receiving, through a first user input source, a first user input for selecting a first character corresponding to the first UI element and switching the first candidate focus to the active focus;
selecting, according to the first user input, the first character;
switching, according to the first user input, the first candidate focus to the active focus by removing the active focus from the first UI element, removing the first candidate focus from the second UI element, displaying the active focus on the second UI element, and displaying a second candidate focus on the first UI element;
receiving, through a second user input source, a second user input for moving the active focus;
moving, according to the second user input, the active focus according to the second user input, and by removing the active focus from the second UI element and displaying the active focus on a third UI element;
receiving, through the first user input source, a third user input for selecting a second character corresponding to the third UI element, switching the active focus to the second candidate focus, and transforming the third UI element into a third candidate focus;
selecting, according to the third user input, the second character corresponding to the third UI element;
switching, according to the third user input, the active focus to the second candidate focus by removing the active focus from the third UI element, and displaying the active focus on the first UI element; and
transforming the third UI element into a third candidate focus by removing the active focus from the third UI element and displaying the third candidate focus on the third UI element.
2. The method of claim 1 , further comprising: setting an initial position of the first candidate focus as a position that a user recently clicked on the screen, according to a user's click history on the screen.
3. The method of claim 1 , wherein the screen includes a keyboard user interface (UI) including UI elements corresponding to a plurality of characters.
4. The method of claim 3 , wherein the first candidate focus is displayed on the second UI element corresponding to one of the plurality of characters.
5. The method of claim 1 , wherein the active focus is a focus box.
6. The method of claim 1 , wherein the active focus is displayed distinctively from the second candidate focus.
7. An electronic device, comprising:
a display;
a memory; and
a processor configured to execute at least one instruction stored in the memory to control the electronic device,
wherein the processor is further configured to:
control the display to display an active focus on a first user interface (UI) element and a first candidate focus on a second UI element on a screen,
receive, through a first user input source, a first user input for selecting a first character corresponding to the first UI element and switching the first candidate focus to the active focus,
select, according to the first user input, the first character,
switch, according to the first user input, the first candidate focus to the active focus by removing the active focus from the first UI element, removing the first candidate focus from the second UI element, displaying the active focus on the second UI element, and display a second candidate focus on the first UI element,
receive, through a second user input source, a second user input for moving the active focus,
move, according to the second user input, the active focus by removing the active focus from the second UI element and displaying the active focus on a third UI element,
receive, through the first user input source, a third user input for selecting a second character corresponding to the third UI element, switching the active focus to the second candidate focus, and transforming the third UI element into a third candidate focus, and
select, according to the third user input, the second character corresponding to the third UI element,
switch, according to the third user input, the active focus to the second candidate focus by removing the active focus from the third UI element, and displaying the active focus on the first UI element, and
transform the third UI element into a third candidate focus by removing the active focus from the third UI element and displaying the third candidate focus on the third UI element.
8. The electronic device of claim 7 ,
wherein the first user input source comprises at least one of a voice microphone, a two-dimensional camera, a three-dimensional camera, an infrared camera, a motion sensor, a posture sensor, a wearable device, a shared sensor information source on a remote mobile device, an analog data generator, or an analog remote control, and
wherein the second user input source comprises at least one of a mouse, a keyboard, or a remote control.
9. The electronic device of claim 7 , wherein the processor is further configured to:
set an initial position of the first candidate focus as a position that a user recently clicked on the screen, according to a user's click history on the screen.
10. The electronic device of claim 7 , wherein the screen includes a keyboard user interface (UI) including UI elements corresponding to a plurality of characters.
11. The electronic device of claim 10 , wherein the first candidate focus is displayed on the second UI element corresponding to one of the plurality of characters.
12. The electronic device of claim 7 , wherein the active focus is a focus box.
13. The electronic device of claim 7 , wherein the active focus is displayed distinctively from the second candidate focus.
14. A non-transitory computer-readable recording medium having recorded thereon instructions, which when executed by a processor, cause an electronic device to perform operations comprising:
displaying an active focus on a first user interface (UI) element and a first candidate focus on a second UI element on a screen;
receiving, through a first user input source, a first user input for selecting a first character corresponding to the first UI element and switching the first candidate focus to the active focus;
selecting, according to the first user input, the first character;
switching, according to the first user input, the first candidate focus to the active focus by removing the active focus from the first UI element, removing the first candidate focus from the second UI element, displaying the active focus the second UI element, and displaying a second candidate focus on the first UI element;
receiving, through a second user input source, a second user input for moving the active focus;
moving, according to the second user input, the active focus by removing the active focus from the second UI element and displaying the active focus on a third UI element;
receiving, through the first user input source, a third user input for selecting a second character corresponding to the third UI element, switching the active focus to the second candidate focus, and transforming the third UI element into a third candidate focus;
selecting, according to the third user input, the second character corresponding to the third UI element;
switching, according to the third user input, the active focus to the second candidate focus by removing the active focus from the third UI element, and displaying the active focus on the first UI element; and
transforming the third UI element into a third candidate focus by removing the active focus from the third UI element and displaying the third candidate focus on the third UI element.