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
mobileLockIdleTimer Not Working
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: mobileLockIdleTimer Not Working
Hi Gene,
Check in the standalone settings make sure you have "Idle Timer" selected.
Simon
Check in the standalone settings make sure you have "Idle Timer" selected.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: mobileLockIdleTimer Not Working
Bingo! It works! Simon, you're a hero. You made my day.
Note to self: review the standalone settings and make sure I know what each of them really do.
Thanks,
Gene
Note to self: review the standalone settings and make sure I know what each of them really do.
Thanks,
Gene
Re: mobileLockIdleTimer Not Working
Well if it made your day then it makes my day...
Ohhh infinite recursion...
Simon
Ohhh infinite recursion...

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!