Languages

Menu
Sites
Language
Lat/Lon for Gear Fit2 App

In my Gear Fit 2 web app, I'm using the code below to get lat/long.

navigator.geolocation.getCurrentPosition(successCallback, errorCallback);

 

For this code to work, GPS radio on my phone must be turned on.

How can I force my app to use the build-in GPS in Gear Fit 2? or at least check it first before the phone's GPS?

 

Thanks

 

Responses

1 Replies
André Reus

hi 

Have checked the problem after turning on the GPS of Fit 2 ? I saw there is a option for on/off gps of Gear Fit 2. You can check the answer from this thread 

https://developer.tizen.org/forums/web-application-development/get-latlon-using-built-gps-or-wifi