[Solved] Control an application from a service


For the Service -> Activity communication you can use LocalBroadcastManager, check this SO answer: Android update activity UI from service

For the Activity -> Service communication you either start service and add extras to intent or have a bound service.
Make sure you read this article: http://developer.android.com/guide/components/services.html

1

solved Control an application from a service