Category: Mobile

Android, Mobile

Improving PhoneGap geolocation for Android 

Some Android devices have the problem of not being able to obtain the user’s current geolocation using the following standard code: navigator.geolocation.getCurrentPosition(onSuccess, onError, options); The first possible solution to this problem is to add the following options parameter: options = { enableHighAccuracy: true,timeout: 5000,maximumAge: 0,desiredAccuracy: 0,…

Read more