Hi,
If I run the following code and wait, it will run and fire after 5 mins. But if I restart the phone it does not fire.
If I add #StartAtBoot: True and restart then the service fires as soon as the phone as restarted and not in 5 mins time.
How can I restart the phone and still have the service fire at the right time and not as soon as the phone starts?
Thanks
If I run the following code and wait, it will run and fire after 5 mins. But if I restart the phone it does not fire.
B4X:
StartServiceAt(MyService, DateTime.Now + 300 * 1000, True)
If I add #StartAtBoot: True and restart then the service fires as soon as the phone as restarted and not in 5 mins time.
How can I restart the phone and still have the service fire at the right time and not as soon as the phone starts?
Thanks