An electronic device, comprising: a user interface; a location sensor configured to sense a location of the electronic device; a processor electrically connected with the user interface and the location sensor; and a memory electrically connected with the processor and configured to store a first application program and a second application program, wherein the memory is further configured to store instructions that, when executed, enable the processor to: gather device data, such as time data, schedule data, context data and/or application use data; receive first location data with a first degree of accuracy regarding the location of the electronic device from the location sensor, determine a context based on at least part of a user input through the user interface and at least part of device data obtained by the electronic device, process at least part of the first location data to generate second location data with a second degree of accuracy lower than the first degree of accuracy regarding the location of the electronic device, determine whether the first or second degree of accuracy is required according to the context based on at least part of the user input, in response to determining that the first degree of accuracy is required according to the context, provide the at least part of the first location data to execute the first application program, and in response to determining that the second degree of accuracy is required according to the context, provide at least part of the second location data to execute the second application program; wherein the application use data is used to determine interest of a user in the first application and the second application based on frequency of use of the first application and the second application, respectively; wherein the first application is a frequently used application, being an application of interest, and the second application is an infrequently used application, being an application of no interest; and wherein the application of interest publishes details of the user's location, and the application of no interest does not publish the details of the user's location. a user interface; a location sensor configured to sense a location of the electronic device; a processor electrically connected with the user interface and the location sensor; and a memory electrically connected with the processor and configured to store a first application program and a second application program, wherein the memory is further configured to store instructions that, when executed, enable the processor to: gather device data, such as time data, schedule data, context data and/or application use data; receive first location data with a first degree of accuracy regarding the location of the electronic device from the location sensor, determine a context based on at least part of a user input through the user interface and at least part of device data obtained by the electronic device, process at least part of the first location data to generate second location data with a second degree of accuracy lower than the first degree of accuracy regarding the location of the electronic device, determine whether the first or second degree of accuracy is required according to the context based on at least part of the user input, in response to determining that the first degree of accuracy is required according to the context, provide the at least part of the first location data to execute the first application program, and in response to determining that the second degree of accuracy is required according to the context, provide at least part of the second location data to execute the second application program; gather device data, such as time data, schedule data, context data and/or application use data; receive first location data with a first degree of accuracy regarding the location of the electronic device from the location sensor, determine a context based on at least part of a user input through the user interface and at least part of device data obtained by the electronic device, process at least part of the first location data to generate second location data with a second degree of accuracy lower than the first degree of accuracy regarding the location of the electronic device, determine whether the first or second degree of accuracy is required according to the context based on at least part of the user input, in response to determining that the first degree of accuracy is required according to the context, provide the at least part of the first location data to execute the first application program, and in response to determining that the second degree of accuracy is required according to the context, provide at least part of the second location data to execute the second application program; wherein the application use data is used to determine interest of a user in the first application and the second application based on frequency of use of the first application and the second application, respectively; wherein the first application is a frequently used application, being an application of interest, and the second application is an infrequently used application, being an application of no interest; and wherein the application of interest publishes details of the user's location, and the application of no interest does not publish the details of the user's location.