Hi,
I use :
and Sticky Service to start a service. The service looks through a database for the current date and time. If found it starts an activity.
I know the database is looking because I've used ToastMessageShow to show the service is running. If the phone screen is on the alarm activates but if the phone screen is off it doesnt work.
Ive tried:
To wake the phone but no luck.
Can any one help?
Jonathan
I use :
B4X:
StartServiceAt(svcAlarm, DateTime.Now, True)
and Sticky Service to start a service. The service looks through a database for the current date and time. If found it starts an activity.
I know the database is looking because I've used ToastMessageShow to show the service is running. If the phone screen is on the alarm activates but if the phone screen is off it doesnt work.
Ive tried:
B4X:
Dim oPhoneWakeState As PhoneWakeState
oPhoneWakeState.ReleaseKeepAlive
oPhoneWakeState.KeepAlive(True)
To wake the phone but no luck.
Can any one help?
Jonathan