views:

102

answers:

1
+3  Q: 

Writing to SD card

Hi,

I am writing some files to SD card. My android version is 2.1. I am not setting any permission in the manifest file but it allows me to write to sd card.

Please let me know why this behavior. only WRITE_EXTERNAL_STORAGE in manifest controls write to SD card or any other configuration i need to do.

thanks Gururaja B O

+1  A: 

Are you compiling with API level 3 or less? That permission was added in API level 4 (Android 1.6), so all apps compiled with API level 3 (for compatibility with phones still running 1.5) will have that permission automatically.

dmazzoni
I am using Eclair code base to build the system images, which is having API level greater than 3. Whether I need to modify any other configuration apart from checking API level?
Gururaja B O