The first thing you need to explain is that the SDcard permission is not meant to be read in the Android application program to set SDcard permissions.
To take the problem. Instead, it refers to the permissions problem for that SDcard directory under the directory that DDMS sees.
Sometimes, when you want to import a file under the SDcard directory, suddenly find that the SDcard directory does not have permissions, its permission state is (
d-------i.e. 000). What we need to do at this time: 1. If you do not configure the ADB operating environment, the environment is configured under path
Android-sdk-windows\platform-tools Road Add to the end (Adb.exe below) 2. Open cmd command 3. Input
ADB shell (after successful entry into the root user status of ADB #) 4. You can use the LS command to see the directory under the current folder, you will find
SDcard directory under here 5. Modify the SDcard permissions, because SDcard is the state of only-read at this time, so modify the directory command with:
chmod 075 (not directly with 777, not successfully executed) Well, in DDMS you will find the SDcard directory read and Write permissions modified. Again
The import of the file can be successful.
Processing of file import in SDcard in Ddms view in eclipse