Getting location using GPS

In this example the current location of the device is taken whenever the location service changes its state to enabled. For continuous location update see another snippet. PRIVILEGE NEEDED: http://tizen.org/privilege/location