I am developing an Android application, which hosts two processes, as
declared in the AndroidManifest.xml file through the "android:process"
XML attributes :

a first main process stated on the XML node with a value set to
"dummy.com" ;
a background service, declared as a XML node with a value set to
":service".
Every time one of those processes start, my "onCreate()" method of the
overridden application that I have declared in the manifest is
invoked. My question is:

is there a way to know what causes this method to be invoked? Is the
"Application::onCreate()" method invoked due to the start-up of the
main process, is it due to the service process?

Since I have named to the two processes differently, I suppose that
there is a way to access to that information at runtime, but I could
not find a way.

Thank for your time. Regards, Édouard

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to