Issue
(1) i wrote a code to create a new file in sdcard ,i checked that card is mounted but i don't know how to see the file which is created in emulator. skin used is wvga800
(2) i want to create new directory in sdcard but file.mkdir() returns false and is it necessary that manifest file has to be written for checking output on avd also
Solution
You can access the sdcard directory using adb shell
. Just browse to the /sdcard
directory.
To write to the sdcard, make sure your AndroidManifest has the proper permission declared. In this case,
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
should be enough.
Answered By - Rodrigo Chiossi
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.