These days to do the project, the background needs a few service support, and need to tune their own write the jar in the interface.
Problem Description: After the login call interface is completed, a token is generated and stored in memory, and subsequent calls to the interface are based on tokens. This is related to whether a few service is in the same memory problem.
So, how do you get the service in one memory?
Super simple: Set the value of Android:process to the same in the configuration file, OK.
<service android:name= ". Localserviceoper.noticeservice " android:label=" message push " android:process=":d ata "> <intent-filter > <action android:name= "service name"/> </intent-filter></service>
Finally done!!!
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Whether Android service is in the same memory issue