You could perhaps disable the IdleTimer preventing the phone from locking :)

UIApplication.IdleTimerDisabled = true;

Tom



2011/7/29 Greg <[email protected]>

> Before wasting my life following every link from google...
>
> Does anyone know how it is possible to keep collecting location data when
> the iphone is locked, I am happy that this will only work while my app is
> running in the "foreground" but at the moment everything works well until
> the screen locks and then my app stops getting updates until I unlock the
> phone again.
>
> Failing this do I have to stop the phone from locking and if so any
> guidance?
>
> Many Thanks
>
> Greg
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/LocationManager-when-Phone-Locked-tp3705036p3705036.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to