wineos Member Licensed User Longtime User Jun 24, 2014 #1 Hi all, I am new in using Service. I want to create an alarm clock, and with Service to wake up the phone from Sleep mode to display alarm, and then run back to Sleep mode. I can successfully use ph.PartialLock to wake up the phone, but after alarm the phone can't back to Sleep mode at once. Can anyone tell me how to make the phone back to Sleep mode again? Thanks a lot! wineos
Hi all, I am new in using Service. I want to create an alarm clock, and with Service to wake up the phone from Sleep mode to display alarm, and then run back to Sleep mode. I can successfully use ph.PartialLock to wake up the phone, but after alarm the phone can't back to Sleep mode at once. Can anyone tell me how to make the phone back to Sleep mode again? Thanks a lot! wineos
mangojack Expert Licensed User Longtime User Jun 24, 2014 #2 Maybe not possible , see here ... Send device to sleep mode ...http://www.b4x.com/android/forum/threads/goto-sleep-mode.29601/#content and also this .. Turn Screen off ... Last edited: Jun 24, 2014 Upvote 0
Maybe not possible , see here ... Send device to sleep mode ...http://www.b4x.com/android/forum/threads/goto-sleep-mode.29601/#content and also this .. Turn Screen off ...