Hello,
I am have used the services to set an alarm. When I close the app with home/back button all is well. When I kill the process entirely, or restart the phone then it obviously destroys the alarm.
So I set StartAtBoot to True and removed all references to the main module from the service module. [There remains one, in the notifcation.setInfo("","Text here", Main)]
The error message that comes up is this:
Error starting intent: (Intent) Intent { act=android.intent.action.MAIN flg=0x30000000 cmp=b4a.example/.main }
The first time I try to compile the app, this error message appears. If I then retry to compile it, the app installs! Only, then when I restart the phone, it crashes.
If I build it in release mode, then it all seems to work ok!!
This thread has turned into less of a question, and probably won't even help anyone else who had this issue.
Sorry.
I am have used the services to set an alarm. When I close the app with home/back button all is well. When I kill the process entirely, or restart the phone then it obviously destroys the alarm.
So I set StartAtBoot to True and removed all references to the main module from the service module. [There remains one, in the notifcation.setInfo("","Text here", Main)]
The error message that comes up is this:
Error starting intent: (Intent) Intent { act=android.intent.action.MAIN flg=0x30000000 cmp=b4a.example/.main }
The first time I try to compile the app, this error message appears. If I then retry to compile it, the app installs! Only, then when I restart the phone, it crashes.
If I build it in release mode, then it all seems to work ok!!
This thread has turned into less of a question, and probably won't even help anyone else who had this issue.
Sorry.