简体   繁体   中英

Send data from service to another android app

I have two android application. One has some services and other application start service. The application activity starts a service and need some data in return from that service. how can I return data from service to the activity start that service?

您可以实现AIDL(Android接口定义语言)来设置2个应用程序之间的通信。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM