In my application I'm using the Estimote Beacon API. In order to start the ranging service, the user must start the application (the most obvious thing...) but, i was wondering if it were possible to avoid this user interaction by automating the start of the application.
A rough idea could be:
Keep the estimote ranging service running even if the application is closed.
As soon as a beacon is detected, generate an Intent
broadcast that will be captured by a BroadcastReceiver
that in turn will start the Main Activity (maybe a notification could be sent to the user and the activity remains hidden).
1) Is that possible? 2) Is it a correct design choice?
Thank you very much for your help.