Hi guys,
I have tried the latest method from this to start my app on boot.
It didn't work. On emulator it worked OK.
So this method is not works on all phone. Any solutions?
My phone : Honor 9 lite, EMUI 9.1 based on Android 9.
I have tried the latest method from this to start my app on boot.
Background location tracking
Simple example of a foreground service that keeps the process running in the background. The current location is shown in the persistent notification. The app starts at boot and theoretically should run all the time. It also schedules itself to run with StartServiceAt. This can help in cases...
www.b4x.com
It didn't work. On emulator it worked OK.
So this method is not works on all phone. Any solutions?
My phone : Honor 9 lite, EMUI 9.1 based on Android 9.