Phanikanth
Phanikanth

Reputation: 69

how to create virtual sd card in android

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?

Upvotes: 2

Views: 8500

Answers (1)

ghostbust555
ghostbust555

Reputation: 2049

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

Upvotes: 3

Related Questions