Did you check to see if the location sensor is available ?
mobileSensorAvailable(sensor)

And if so, have you used :-
mobileStartTrackingSensor
to start the tracking ?

> From: ludovic.theba...@laposte.net
> Subject: GPS and iPod or iPad wifi
> Date: Thu, 31 May 2012 21:14:13 +0200
> To: use-livecode@lists.runrev.com
> 
> Hello,
> 
> I want to add a function to get the gps location in my app.
> I've only an ipod touch and an ipad wifi for my test. 
> 
> I can use a bluetooth gps with my jailbroken ipod.
> 
> But none display any location when i ask ! 
> 
>   put mobileCurrentLocation() into theLocation
>   answer theLocation["latitude"] & "-"  & theLocation["longitude"]
> 
> i get  only " - "
> 
> It's the same with the simulator.
> 
> It is normal ? 
> With the "Plan" app, it's possible to see your current location by wifi.
> 
> Thanks.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
                                          
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to