Hello, I would like to make a service that runs in the background and monitors the quality. I have thought of a separate service that exposes an aidl interface to an activity, the aidl would have some monitor related functions that an activity can call. To give an example of how my service should work think of the ebuddy application that runs in the background and waits for incoming calls (I believe this is done by a service).
- Is this a correct approuch to my problem?
- I am currently able to create my service and use the aidl interface but when i close the activity(when I press the back button) the service is destroyed too! How to avoid that?
- I would like to make a persistent notification much like ebuddy, how to do it? I have tried with notification manager but no luck, I have only managed to add at the notification section.