Alternatively (especially for windows users) one can create the sdcard
image using the described way, loading the sdcard image into the
emulator and push some data onto it using adb.
1) mksdcard 2048M mysdcard
2) emulator -sdcard mysdcard
3) adb push local_file sdcard/remote_file
Files will remain on the image and will be ready to be used next time
you load mysdcard into the emulator.
BTW: Don't make the sdcard image too small. This will crash the
emulator :)
*****************************************************
Android Developer-mksdcard
Subscribe to:
Post Comments (Atom)

Here's the command
ReplyDelete>emulator -avd cell
-sdcard c:\DMarkdevelopment\sdcard\sdcard.img