laviniut Active Member Licensed User Longtime User Aug 3, 2018 #1 How can i use B4X: Service.AutomaticForegroundMode=Service.AUTOMATIC_FOREGROUND_ALWAYS without a permanent notification in status bar? I need the service to work in background to monitor battery level.
How can i use B4X: Service.AutomaticForegroundMode=Service.AUTOMATIC_FOREGROUND_ALWAYS without a permanent notification in status bar? I need the service to work in background to monitor battery level.
Jmu5667 Well-Known Member Licensed User Longtime User Aug 3, 2018 #2 Use a partial wake lock Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 5, 2018 #3 You cannot if you want the process to run all the time. Upvote 0