My problem is, that i have multiple apps which are scanning for beacons. I want to develop one service which i can use in all of my apps and inform the apps of scanned beacons. I read this thread https://stackoverflow.com/a/6204631/3180977 and a shared service is possible with the android:process attribute. Can anyone explain how to implement a service in two applications and the communication with the service?
Asked
Active
Viewed 2,883 times
1
-
Try AIDL service? take a tutorial here http://stackoverflow.com/questions/7497970/need-aidl-tutorials – IshRoid Feb 24 '15 at 11:52
-
Yes.You can try with either aidl or messanger. – Ramesh Feb 24 '15 at 11:58
-
Thank you. Can i use a "normal" service in an AIDL service? Thats a strange combination i know. But i use the Radius Networks Library for Beacons. And there is also a service defined. – Zenco Feb 24 '15 at 12:14
-
for inter process communication you can use aidl or messenger – Ramesh Feb 24 '15 at 12:43