GPS and iPod or iPad wifi

John Dixon dixonja at hotmail.co.uk
Thu May 31 15:46:22 EDT 2012



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.thebault at laposte.net
> Subject: GPS and iPod or iPad wifi
> Date: Thu, 31 May 2012 21:14:13 +0200
> To: use-livecode at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
 		 	   		  


More information about the use-livecode mailing list