Electronic device and method for displaying home screen using same
A first electronic device is provided. The first electronic device includes a display, a communication circuit, memory, and a processor. The processor is configured to execute an initial setup function for initial setup of the first electronic device, recognize a second electronic device in response to the execution of the initial setup function, request first data from the recognized second electronic device, obtain the first data produced by the second electronic device from the second electronic device, in response to completion of the initial setup function, display a first home screen implemented based on the obtained first data on the display and request second data corresponding to an application stored in the second electronic device from the second electronic device, obtain the second data from the second electronic device, and display a second home screen implemented based on the obtained second data on the display.
1 . A first electronic device comprising:
a display;
a communication circuit;
a processor operatively connected to the display and the communication circuit; and
memory configured to store instructions,
wherein the instructions, when executed by the processor, cause the first electronic device to:
execute an initial setup function for initial setup of the first electronic device,
recognize a second electronic device that is operatively connected to the first electronic device through the communication circuit in response to execution of the initial setup function,
request first data related to a home screen of the second electronic device from the recognized second electronic device, wherein the first data includes at least a minimum information needed to implement the home screen,
obtain the first data from the second electronic device,
display a first home screen generated based on the obtained first data on the display,
in response to the displaying of the first home screen, complete the initial setup function,
request second data corresponding to an application included in the first home screen from the second electronic device, the second data including backup application data corresponding to the application,
obtain the second data from the second electronic device, and
display a second home screen generated based on the obtained second data including the backup application data on the display.
2 . The first electronic device of claim 1 , wherein the first data comprises, as home screen-related information for implementing a home screen, at least one piece of information related to a layout of the home screen, information related to wallpaper, information related to a lock screen, information related to an application to be installed, information related to an icon of an application to be installed, and/or list information.
3 . The first electronic device of claim 1 , wherein the instructions, when executed by the processor, cause the first electronic device to:
display the first home screen implemented based on the initial setup function on the display in response to the execution of the initial setup function;
execute a backup function in response to completion of the initial setup function; and
switch the first home screen being displayed on the display to the second home screen implemented based on the backup function in response to the execution of the backup function,
wherein the backup function is executed based on a second application related to acquisition of the second data corresponding to backup data, and
wherein the second application is stored in the memory.
4 . The first electronic device of claim 3 ,
wherein the first home screen comprises a widget area for displaying widget content, and
wherein the instructions, when executed by the processor, cause the first electronic device to, when an application corresponding to the widget content of the recognized second electronic device is not installed on the first electronic device, display the widget area of the first electronic device so as to be visually distinguished from remaining areas of the first home screen.
5 . The first electronic device of claim 4 , wherein the instructions, when executed by the processor, cause the first electronic device to:
identify installation of an application corresponding to the widget content in response to the execution of the backup function, and
display the widget content, based on the widget area, in response to completion of installation of the application corresponding to the widget content.
6 . The first electronic device of claim 3 , wherein the instructions, when executed by the processor, cause the first electronic device to:
identify a priority corresponding to at least one application included in the first home screen in response to the execution of the backup function;
install the at least one application, based on the identified priority; and
switch a first icon corresponding to the at least one application to a second icon in response to completion of installation of the at least one application.
7 . The first electronic device of claim 6 , wherein the instructions, when executed by the processor, cause the first electronic device to display a notification message indicating that the application corresponding to the first icon is executing the backup function in response to a user input to the first icon.
8 . The first electronic device of claim 1 , wherein the instructions, when executed by the processor, cause the first electronic device to:
execute the initial setup function in response to a situation in which the first electronic device is booted, and
wherein the initial setup function is executed based on a first application related to initial setup of the first electronic device,
wherein the first application is stored in the memory.
9 . The first electronic device of claim 1 ,
wherein the first home screen comprises a first icon corresponding to an application that has not yet been completely installed in the first electronic device and a second icon corresponding to an application that has been completely installed in the first electronic device, and
wherein the first icon is displayed as a dummy icon.
10 . A method of operating a first electronic device, the method comprising:
executing an initial setup function for initial setup of the first electronic device;
recognizing a second electronic device that is operatively connected to the first electronic device in response to execution of the initial setup function;
requesting first data related to a home screen of the second electronic device from the recognized second electronic device, wherein the first data includes at least a minimum information needed to implement the home screen;
obtaining the first data from the second electronic device;
displaying a first home screen generated based on the obtained first data on a display,
in response to the displaying of the first home screen, completing the initial setup function,
requesting second data corresponding to an application included in the first home screen from the second electronic device;
obtaining the second data from the second electronic device, the second data including backup application data corresponding to the application; and
displaying a second home screen generated based on the obtained second data including the backup application data on the display.
11 . The method of claim 10 , wherein the first data comprises, as home screen-related information for implementing a home screen, at least one piece of information related to a layout of the home screen, information related to wallpaper, information related to a lock screen, information related to an application to be installed, information related to an icon of an application to be installed, and/or list information.
12 . The method of claim 10 , further comprising:
displaying the first home screen implemented based on the initial setup function on the display in response to the execution of the initial setup function;
executing a backup function in response to completion of the initial setup function; and
switching the first home screen being displayed on the display to the second home screen implemented based on the backup function in response to the execution of the backup function,
wherein the backup function is executed based on a second application related to acquisition of the second data corresponding to backup data, and
wherein the second application is stored in a memory of the first electronic device.
13 . The method of claim 12 ,
wherein the first home screen comprises a widget area for displaying widget content, and
wherein the method further comprises, when an application corresponding to the widget content of the recognized second electronic device is not installed on the first electronic device, displaying the widget area of the first electronic device so as to be visually distinguished from remaining areas of the first home screen.
14 . The method of claim 13 , further comprising:
identifying installation of an application corresponding to the widget content in response to the execution of the backup function; and
displaying the widget content, based on the widget area, in response to completion of installation of the application corresponding to the widget content.
15 . The method of claim 12 , further comprising:
identifying a priority corresponding to at least one application included in the first home screen in response to the execution of the backup function;
installing the at least one application, based on the identified priority; and
switching a first icon corresponding to the at least one application to a second icon in response to completion of installation of the at least one application.
16 . The method of claim 15 , further comprising:
displaying a notification message indicating that the application corresponding to the first icon is executing the backup function in response to a user input to the first icon.
17 . The method of claim 10 , further comprising:
executing the initial setup function in response to a situation in which the first electronic device is booted, and
wherein the initial setup function is executed based on a first application related to initial setup of the first electronic device,
wherein the first application is stored in a memory of the first electronic device.
18 . The method of claim 10 ,
wherein the first home screen comprises a first icon corresponding to an application that has not yet been completely installed in the first electronic device and a second icon corresponding to an application that has been completely installed in the first electronic device, and
wherein the first icon is displayed as a dummy icon.
19 . One or more non-transitory computer-readable storage media storing one or more programs including instructions that, when executed by one or more processors of a device, cause the device to perform operations, the operations comprising:
executing an initial setup function for initial setup of a first electronic device;
recognizing a second electronic device that is operatively connected to the first electronic device in response to the execution of the initial setup function;
requesting first data related to a home screen of the second electronic device from the recognized second electronic device, wherein the first data includes at least a minimum information needed to implement the home screen;
obtaining the first data from the second electronic device;
displaying a first home screen generated based on the obtained first data on a display,
in response to the displaying of the first home screen, complete the initial setup function,
requesting second data corresponding to an application included in the first home screen from the second electronic device, the second data including backup application data corresponding to the application;
obtaining the second data from the second electronic device; and
displaying a second home screen generated based on the obtained second data including the backup application data on the display.
20 . The one or more non-transitory computer-readable storage media of claim 19 , the operations further comprising:
executing a backup function in response to completion of the initial setup function, and
wherein the initial setup function is executed based on a first application related to initial setup of the first electronic device,
wherein the backup function is executed based on a second application related to acquisition of the second data corresponding to backup data,
wherein the first application is a setup wizard related application, and
wherein the second application is a smart switch related application.