[android-developers] Re: Shared Memory

2010-10-21 Thread William Ferguson
You haven't described why need to share data between these 2 applications. You could create a service that both applications interact with and make the service responsible for holding the shared data. On Oct 20, 11:14 pm, chazz wrote: > Hi, I am new in android development. i was wondering if i c

[android-developers] Re: Shared Memory

2010-10-21 Thread Bob Kerns
Actually, you can arrange for them to run in the same process, if you supply both the android:sharedUserId attribute on the manifest element, and the android:process attribute on the application element, and you sign them both with the same signing certificate. You'll also have to work out how to

Re: [android-developers] Re: Shared Memory

2010-10-22 Thread Dianne Hackborn
There is really no need to use android:sharedUserId. The common way to do this on Android is to put your data behind a content provider, which others can call ContentResolver.openFileDescriptor() or related to get access to the file. The content provider opens the file (so it doesn't need to play