Re: finding location on mobile device

2018-11-13 Thread Alan via use-livecode
Note that you may not get a value immediately from your location services subsystem so if you find there's nothing there, then try starting up the sensor in openCard or openStack, wait some time and then use the button to get the current location. Hope that makes sense (and works for you). Or

RE: finding location on mobile device

2018-11-13 Thread Ralph DiMola via use-livecode
with "OK" titled "Proximity Search" return empty end switch break default put "GPS" into tGPStext answer tGPStext && "can't determine your location." &a

Re: finding location on mobile device

2018-11-13 Thread Devin Asay via use-livecode
This has worked for me in the past, but I haven’t tried it in quite some time: mobileStartTrackingSensor "location", false put mobileCurrentLocation() into tLocArray mobileStopTrackingSensor "location" put "lat: " & tLocArray["latitude"] & cr & "long: " & tLocArray["longitude”] into fld "report"

finding location on mobile device

2018-11-13 Thread Mike for GDC via use-livecode
I am trying to find my current lat/long on my android device. I have played around with multiple options including "mobileCurrentLocation" and others. I have not been able to find an example of code that does it and works. What I want to do is push a button, have the lat/long displayed so as I