I am using the AIDL service in my application. I also want to start another process, so I use android:process=":remote" in the service declaration in the manifest.
My problem is that when the process starts :remote it apparently recreates the Application object.
I really do not do this, as I override the application object and call many client elements in the onCreate() method. However, I want the service code to be in the same apk with the client.
Can i achieve this? Is the Application object always recreated when a new process starts?
Appreciate your help. Thanks!
android process service
ivy_the
source share