Getting location using WPS (WiFi Positioning System)

This snippet will enable you to get the device location using WiFi networks. In this example the current location of the device is taken each time when the location service changes its state to enabled. For periodic location update see another snippet. PRIVILEGE: http://tizen.org/privilege/location