Hi,

I have a piece of code that copies a file to the sdcard, it always
worked. But changing the following
line in the Manifest from:

<uses-sdk android:minSdkVersion="3"/>

to

<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/>

Gives me a error (have not changed anything else). Anyone have an
explanation?

07-08 13:13:38.121: ERROR/myApp(266): /mnt/sdcard/myapp/customer.db
(Permission denied)
07-08 13:13:38.121: ERROR/myApp(266): java.io.FileNotFoundException: /
mnt/sdcard/myappt/customer.db (Permission denied)
07-08 13:13:38.121: ERROR/myApp(266):     at
org.apache.harmony.luni.platform.OSFileSystem.openImpl(Native Method)
07-08 13:13:38.121: ERROR/myApp(266):     at
org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:
152)

Regards Jonas.

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

Reply via email to