![]() ![]() I've considerd using BroadcastReceiver for the Bluetooth state. I need to make sure that when the service crush it will try to reset by himself some way. The service is using the Bluetooth feature with another 2 separate Threads that runs in a never ending loop for scanning devices (with ThreadSleep for saving battery and CPU mostly).Įdit: I used the Bluetooth feature and when I closed it, the service that was scanning for devices couldn't get the BluetoothAdapter and the app collapsed, it wasn't ANR message.Īny way I still need a way to handle this situation. ![]() With a Thread and returning START_STICKY flag. The service is starting in the onStartCommand() If it doesnt, take a look at this link: Level. That should bring you back to where you were. ![]() I got a service that stops for a reason I'm still not sure why with ANR massage. Hi Kellie, you need to reconnect your game to your FB account. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |