Code in service seems to stop running when screen is turned off

rleiman

Well-Known Member
Licensed User
Longtime User
Hi,

I noticed that code in services seems to stop running when both the screen is turned off and the B4A Bridge is disconnected.

This happened when trying to play a file with the media player and also with notifications that give a sound to let the user know something is happening.

NJDude let me try a sample that has a counter that does a notification when it reaches a count of 60 by making a notification sound. If you do the above with the screen and B4A Bridge the sound is not working at the count of 60 or it completely skips several minutes and make a sound once in a while.

Thanks.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…