RE: [android-developers] Help in simple read/write applications.

2011-04-25 Thread Tommy
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


Re: [android-developers] Help in simple read/write applications.

2011-04-25 Thread TreKing
On Mon, Apr 25, 2011 at 8:13 PM, HarryP anupsvasi...@gmail.com wrote:

 But while running app B on the emulator, I get an error box which says that
 the application stopped unexpectedly.


Debug your app. Or at the very least post the actual error you're getting in
your LogCat.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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