Tuesday, April 28, 2009

Android SDCard Simulation

1) Create a new SDCard

mksdcard [-l label] [K|M]

eg: mksdcard -label 128M c:\sdcard.img


2) Add files in SDcard

adb push filePath /sdcard

eg: adb push img.jpg /sdacrd

3) Integrate with emulator

From eclipse do to project->Run>Target>Addtion Commal line options

give "-sdcard c:\sdcard.img" and run it.

No comments:

Post a Comment