The most crucial part is the interaction using the intents. You will have to register your service to receive these intents and add the extras to share the information required.
It is difficult to provide you with specific information till we don't really know your needs. But, I am sure, you have seen this tutorial : https://www.b4x.com/android/forum/threads/tutorial-inter-app-communication-with-intents.30608/