R rclodfelter Member Licensed User Longtime User Feb 11, 2011 #1 I want either create an alarm or interface into the Android clock or calendar to set an alarm. I was thinking I'd capture the hour/minute output from the time dialog and use that as input to set the alarm. I looked around and didn't see anything obvious in the docs. Any help is appreciated.
I want either create an alarm or interface into the Android clock or calendar to set an alarm. I was thinking I'd capture the hour/minute output from the time dialog and use that as input to set the alarm. I looked around and didn't see anything obvious in the docs. Any help is appreciated.
Erel B4X founder Staff member Licensed User Longtime User Feb 13, 2011 #2 You can use StartServiceAt to schedule a task. See the Services tutorial: http://www.b4x.com/forum/basic4android-getting-started-tutorials/7542-service-modules.html#post42973 Upvote 0
You can use StartServiceAt to schedule a task. See the Services tutorial: http://www.b4x.com/forum/basic4android-getting-started-tutorials/7542-service-modules.html#post42973
R rclodfelter Member Licensed User Longtime User Feb 14, 2011 #3 I read through the tutorial. One question. If I start a service and then the phone reboots will the service come back/restart? I'm thinking not. What I want to do is set an alarm for a certain day at a certain time and have it re-occur on a schedule. For example popup a reminder at 10 AM on Tuesdays. Upvote 0
I read through the tutorial. One question. If I start a service and then the phone reboots will the service come back/restart? I'm thinking not. What I want to do is set an alarm for a certain day at a certain time and have it re-occur on a schedule. For example popup a reminder at 10 AM on Tuesdays.
R rclodfelter Member Licensed User Longtime User Feb 14, 2011 #4 I'll answer my own question I just saw this in the doc - Run a service after boot. By checking Project - Service properties - Run At Boot your service will run after boot is completed. Upvote 0
I'll answer my own question I just saw this in the doc - Run a service after boot. By checking Project - Service properties - Run At Boot your service will run after boot is completed.