My development phone has KitKat so I can't test the problem all my customers are having with Marshmallow. They tell me the new doze feature is stopping the app. My app uses timers that part of the app is running in a service module. I think that the service module is being stopped when the doze feature kicks in.
Based upon this response from one of my customers who have other apps like mine, I would like to find out if B4A will allow me to set up an alarm and to have that alarm execute another sub routine in another module. If this can be done, can you show me the needed coding to achieve that?
Here is what my customer wrote:
On Lollipop+ devices chimes are set as alarm clock. This is mandatory on Android M devices - otherwise chimes will be affected by Doze (battery saving mode). On some Samsung devices such setting fixes chimes being delayed by 2-4 minutes. Unfortunately this new setting adds alarm clock icon on right side of status bar
You can use old option to set chimes but they might be affected by battery saving mode (Android M)".