I want to know how to create a virtual SD card in android. I have one SD card in my emulator, but I want to add one more external (virtual) card to my emulator. Can anybody know how to create one more SD card in my emulator?
Use the mksdcard function to make a new card-
mksdcard -l mySdCard 1024M mySdCardFile.img
then use emulator options to specify which card to use-
emulator -sdcard mySdCardFile.img
来源:https://stackoverflow.com/questions/9013679/how-to-create-virtual-sd-card-in-android