I'm using AIDL service in my app.
I also want to run it another process, so I use android:process=":remote"
in service declaration in the manifest.
My problem is that when the :remote
process starts it apparently recreates Application
object.
I really do not with that as I override application object and call lots of client stuff in the onCreate()
method. Yet I want the service code to reside in the same apk with the client.
Can I achieve that? Is Application
object always recreated when new process starts?
Appreciate your help. Thanks!