Monitoring Estimote Beacons even if the app is closed

START_STICKY only restart your service when it killed by OS ( as i read ), but when your app is kill from task service is stopped…

the only way i can make app stil running in the background is Remove app from task, app is stil running even user clear all Task in android ( no the best way )

and i create alarmManager to handle it

  1. for start & configure beaconManager
  2. for checking my service is running or not.

but my BeaconService is stopMonitoring when phone locked,

@Michal_Hrezdovic hi, is your BeaconService/BeaconManager is really working when phone locked ? because in my case when i’m lock my phone beaconService+BluetoothAdapter is stop produce the log in logCat.