How can a remote Service send messages to a bound Activity?

后端 未结 4 1952
我寻月下人不归
我寻月下人不归 2021-02-08 19:44

I\'ve read the documentation about Bound Services, where it is shown that you can easily communicate through Messages from an Activity to a remote (i.e. not in the same

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-08 20:05

    should be able to do this using . a AIDL file like android billing api does. its a way to do RPC calls (communicate across remote processes). but you have to declare each method you want to use. sort of like the interface above already mentioned.

提交回复
热议问题