The PhoneGap library provide lot of useful functionalities for accessing native mobile features like Camera, Geo location, Voice recorder etc., In this tutorial I am going to collect current Geo location details of the mobile device using Geolocation methods available in PhoneGap (Cordova). PhoneGap (Cordova) provides two different methods for getting geo location details. Those are, 1. geolocation.getCurrentPosition - Returns the current position as Position object. 2. geolocation.watchPosition - It continuously watch changes of device 's current position. The example for above methods are shown here. navigator.geolocation.getCurrentPosition(geoLocationSuccess,geoLocationError,{timeout:30000}); (or) navigator.geolocation.watchPosition(geoLocationSuccess,geoLocationError,{timeout : 30000}); function geoLocationSuccess(position) { var str = 'Latitude: ' + position.coords.latitude + '\n' + 'Lo