Hi Dianne,

I'm thinking about releasing an extension application with direct
access to classes and the SharedPreferences of one that's already been
released.

I suspect this is not possible without updating the first application?

If the following issue is indeed valid, then it seems this is not
possible at all without loss of all app data:
http://code.google.com/p/android/issues/detail?id=1227

On a related note, if I have the shared user ID / shared process
working, how would I access classes of the partner APK? Also, when
creating projects in eclipse, I'd have to give eclipse access to
classes of the other APK but instruct aapt to not pack them into both
APKs.

Thank you and greetings to the HQ :-)

Christoph


On Fri, Jan 30, 2009 at 6:49 AM, Dianne Hackborn <hack...@android.com> wrote:
> The two .apks must be signed with the same certificate, use
> android:sharedUserId in their manifest to be assigned the same uid, and then
> can use android:process to specify the same name of the process to run in.
>
> On Thu, Jan 29, 2009 at 9:33 PM, mongd <mongdl...@gmail.com> wrote:
>>
>> According to the docs in the Android developer's site, processes can
>> be used to reduce overhead by running the code of multiple .apks in
>> the same process. (see application model)
>> What I'm wondering is HOW I can run multiple .apk in the same process.
>>
>> Since an image from one of the Google I/O video shows that process can
>> run one .apk or just part of one .apk, I'm little confused about
>> processes.
>>
>> Thank you!
>>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  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 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