Your friends:

adb logcat
adb shell ps
adb shell dumpsys activity

On Tue, May 12, 2009 at 6:39 AM, Ask <[email protected]> wrote:

>
> Hello Neil,
>
>    the same thing I had done. I had given the same
> android:sharedUserId= "hii.hello"  in the manifest of the both the
> application as well as same android:process = "guide.android"  in both
> the manifests. But could not get the expected result.
>
>    Is the anything more to be done to run both the applications in
> the same process?? How to check that they are running in the same
> process?
>
> Thanks,
>
> Asif
>
> On May 12, 5:49 pm, Neil <[email protected]> wrote:
> > To answer the first question, read the manual:
> >
> > http://developer.android.com/guide/topics/manifest/application-elemen...
> >
> > By setting this attribute to a process name that's shared with another
> > application, you can arrange for components of both applications to
> > run in the same process — but only if the two applications also share
> > a user ID and be signed with the same certificate.
> >
> > I didn't understand the "how" part of your question - just do it.
> >
> > Neil
> >
> > On May 12, 1:50 pm, Asif k <[email protected]> wrote:
> >
> >
> >
> > > Hi all,
> >
> > >    I want to run two different android applications in the single
> > > process to access the resources. For that purpose, I had made
> > > following two changes in the manifest file of both the application ,
> >
> > > I had override two attributes and
> >
> > > 1) android:sharedUserId= "hii.hello" under <manifest> tag
> > > 2) android:process = "guide.android" under <application> tag
> >
> > >   I had made these changes (asign the same values) in the both the
> > > applications but could not get expected results. How to check whether
> > > both these applications are running in the same process??
> >
> > >   Should I sign both the application with the same certificate?? If
> > > yes, then can you please tell how??
> >
> > > Thanks,
> > > Asif.- Hide quoted text -
> >
> > - Show quoted text -
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

Reply via email to