Thanks both of you for your answering. I'm waiting for a guy getting back to me with a stacktrace of the problem.
I have declared the permission in the manifest file. Does it matter where I declare it in the file? The strange thing is that it works fine on some devices and not at all on others. So far I have got reports of this problem on moto droid, htc hero sprint and g1. -André On May 5, 11:04 pm, niko20 <[email protected]> wrote: > As mentioned, on Android 1.6 and up your app needs to declare the > WRITE_EXTERNAL_STORAGE permission in it's manifest file or all sdcard > write calls will fail. > > -niko > > On May 4, 10:02 am, TreKing <[email protected]> wrote: > > > > > > > On Mon, May 3, 2010 at 4:50 PM, André <[email protected]> wrote: > > > Sorry, it force closes on reading in a file. And can't write to sdcard on > > > write. > > > I assume you have the EXTERNAL_STORAGE permission, of course? > > > Besides that, your best option is to get a stacktrace of the problem to see > > exactly where you're going wrong. See if you can get a friendly user to help > > you out or find someone you know with a Droid to test on. > > > On Tue, May 4, 2010 at 3:33 AM, André <[email protected]> wrote: > > > No one knows why this could be? > > > If no one responded, apparently not ... > > > --------------------------------------------------------------------------- > > ---------------------- > > TreKing - Chicago transit tracking app for Android-powered > > deviceshttp://sites.google.com/site/rezmobileapps/treking > > > -- > > 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 > > athttp://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 [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://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 [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

