mobileLockIdleTimer Not Working
Posted: Sat Feb 16, 2013 1:09 am
Hi,
I am having trouble preventing my Android from going to sleep after a minute or so. According to the release notes, the "mobileLockIdleTimer" command should accomplish this, but it doesn't seem to work after issuing the command. Also, if I check the status using the mobileIdleTimerLocked() function after issuing the mobileLockIdleTimer command, it reports back that the timer is not locked (ie.e turned off). In any case, the phone still goes to sleep with after using both the lock and the unlock commands.
Has anyone had any success preventing their Android device(s) from sleeping, either with the lock command, or otherwise? Having the device time out should be a deal killer for a lot of apps. It certainly is for the one I'm working on, so I would really appreciate some help with this.
Thanks,
Gene
I am having trouble preventing my Android from going to sleep after a minute or so. According to the release notes, the "mobileLockIdleTimer" command should accomplish this, but it doesn't seem to work after issuing the command. Also, if I check the status using the mobileIdleTimerLocked() function after issuing the mobileLockIdleTimer command, it reports back that the timer is not locked (ie.e turned off). In any case, the phone still goes to sleep with after using both the lock and the unlock commands.
Has anyone had any success preventing their Android device(s) from sleeping, either with the lock command, or otherwise? Having the device time out should be a deal killer for a lot of apps. It certainly is for the one I'm working on, so I would really appreciate some help with this.
Thanks,
Gene