Method of displaying user interface on device, and device
A method of displaying a user interface (UI) on a screen of a device is provided. The method includes selecting, when an event occurs, a first object, which is related to the event, from among the one or more objects included in the UI, determining a second object for executing a second operation related to a first operation, the first operation being executed when the first object is selected by an input to the device, and changing the first object into the second object.
1. A method of displaying a user interface UI on a display of a device, the method comprising:
displaying the UI according to a set layout, the UI displaying an application;
in response to detecting a position information of the device being out of a predetermined range, displaying a recommended application according to the position information and a type of the application displayed on the UI, the predetermined range being determined based on an area that the device has moved within a time period; and
based on a user input selecting the recommended application, modifying an object on the UI to display the recommended application.
2. The method of claim 1 , further comprising displaying an application installation page with respect to the recommended application.
3. The method of claim 1 , further comprising installing the recommended application.
4. The method of claim 1 , wherein the displaying the recommended application comprises displaying the recommended application according to application types displayed on the UI.
5. The method of claim 1 , further comprising in response to detecting a predetermined time, displaying the recommended application.
6. A device for displaying a UI, the device comprising:
a display; and
a controller configured to:
control the display to display the UI according to a set layout, the UI displaying an application;
in response to detecting a position information of the device being out of a predetermined range, display a recommended application according to the position information and a type of the application displayed on the UI, the predetermined range being determined based on an area that the device has moved within at time period; and
based on a user input selecting the recommended application, modify an object on the UI to display the recommended application.
7. The device of claim 6 , wherein the controller is further configured to display an application installation page with respect to the recommended application.
8. The device of claim 6 , wherein the controller is further configured to install the recommended application.
9. The device of claim 6 , wherein the controller is further configured to display the recommended application according to application types displayed on the UI.
10. The device of claim 6 , wherein the controller is further configured to, in response to detecting a predetermined time, display the recommended application.
11. A non-transitory computer-readable recording medium having recorded thereon a program for executing the method of claim 1 , by a computer.