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 share access to the information, as the applications will have been loaded by different classloaders, but there are ways that can be done. But I'd question whether that's really what you want or need to do. That's really not how the system is designed to be used normally. A service, or sharing using android:sharedUserId to allow access to each other's data, or even persisting the data off the device in a web service are more usual approaches. You really didn't say what you are trying to accomplish, so we can't really make a more specific recommendation. On Oct 20, 6:14 am, chazz <[email protected]> wrote: > Hi, I am new in android development. i was wondering if i could share > some data between two applications in android. One way is to place the > text file on SdCard but i dont want to do this... second way is to > place in data folder, and i dont know how to.... 3rd way is to place > the data in shared memory so both applications can see it... also i > dont want the user to see or delete this file, only my two > applications can change this file or data..... > Please help me... i've been wondering on this for 2 days.... > > regards, -- 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

