Dan wrote:
> Is there a right associated with write/read access to the sd card that
> needs to be set in the manifest.xml file?
>
> I'm currently trying to write to the sd card using a standard
> FileOutputStream here:
>
> FileOutputStream out = new FileOutputStream("/
> sdcard/images/"+imageName);
> bmp.compress(Bitmap.CompressFormat.JPEG, 90, out);
>
> but it doesn't seem to be working. It just says the location isn't
> found, which can happen if there are no permissions to read/write to
> the location. Thanks for any help.
You need WRITE_EXTERNAL_STORAGE to write to the SD card.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, One Low Price!
--
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