Launch iPhone Standby Applications

Starting with IPhone OS 3.0, MotionX GPS is capable of recording a GPS track in sleep mode. After you press the sleep button at the top of the phone, the application continues to receive GPS coordinates and record them. Does anyone know how they can do this? I only know about the way to save sound in standby mode.

+19
iphone
Oct 11 '09 at 20:41
source share
3 answers

I found a great webpage that explains how to do this - http://marcopeluso.com/2009/08/23/how-to-prevent-iphone-from-deep-sleeping/

You need to start a timer that plays a sound every 10 seconds. But the sound may be quiet.

+18
Oct 11 '09 at 23:11
source share

[UIApplication sharedApplication] .idleTimerDisabled = YES should do this

+2
Oct 11 '09 at 20:43
source share

I heard that [UIApplication sharedApplication].idleTimerDisabled=YES will leave a light on the screen, (after the user presses the Sleep button), as a result of which the battery runs out.

But I have not tried it myself, so anyone who is worried will fix it if it is wrong.

+1
Sep 18 '10 at 21:51
source share



All Articles