简述:
Remote service can be accessed by other application,otherwise, it can only be accessed by your own application.
应用场景:
公共的服务,比如友盟之类的推送服务,只需要起一个进程,所有app共享,节省系统资源,还能提高推送存活率。
<service android:name=".TeseService"
android:process=":remote"/>
可以让这个TestService运行在一个叫做remote的进程中,并且可以其他程序使用,比如支付宝支付的服务,肯定不能和支付宝客户端在同一个进程中。
--------------------------------------------------分割线--------------------------------------------------