I didn't think you could access app files between apps... Why not create a folder on the SD card and write the file there.... that way both apps have access? Maybe I am wrong about apps being able to access eachothers files other than with maybe custom providers? Maybe you could try using an Intent from App B to call an activity on App A that passes back the data you are looking for?
-----Original Message----- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of HarryP Sent: Monday, April 25, 2011 9:14 PM To: Android Developers Subject: [android-developers] Help in simple read/write applications. I am writing two applications A and B. A writes a string into a file and B has to read from the same file. Both are signed by the same key and have shared UIDs. App A runs fine, by writing a specified string into the file(stored in internal memory). But while running app B on the emulator, I get an error box which says that the application stopped unexpectedly. Can anyone help me in this direction? Thanks!! -- 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 -- 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