HI,

      I need  two activities run in different processes in the same
application. Now I have made it work by specifying the different
process name in "android:process".

        But I met a problem,  from
http://developer.android.com/guide/topics/manifest/application-element.html#nm,
we have only one superclass of Application will run before the
activity starts(I have tested it, and each time a after new processes
start, this Application(its superclass) will run before activity).
But, my two activities have two different superclasses of
Applications. So, how to make Applications for different activities
run for its corresponding activity?

       If there is no way to use different Application class for
different activity, how can I make a flag for the common Application
superclass to judge which process(by getting its name) is running?

      BTW, the two activities were on the separated development flow
and I am trying to merge them.

Thanks a lot.
--~--~---------~--~----~------------~-------~--~----~
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