Get Lat/Lon using built in GPS or WiFi
By Rich Mabb
25 Mar 2017 02:01
English
1 Replies
I've developer an app for my Gear Fit2 watch that displays my currnt Lat/Lon. (Gear Fit 2 has a bulit in GPS, WiFi and Bluetooth.)
navigator.geolocation.getCurrentPosition(successCallback, errorCallback, {maximumAge: 60000});
The apps works fine when watch is connected to phone via Bluetooth. However it doesn't work when bluetooth is off, even though GPS and WiFi are turned-on on the watch!
Any idea how to get app working without a connection to phone?
Thanks!
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------