Android Question Wake Up and Sleep Again

wineos

Member
Licensed User
Longtime User
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
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…