SD CARD EMULATION

When you create a new AVD, you can emulate the existence of an SD card (see Figure B-12). Simply enter the size of the SD card that you want to emulate (in the figure, it is 200MB).

Alternatively, you can simulate the presence of an SD card in the Android emulator by creating a disk image first and then attaching it to the AVD. The mksdcard.exe utility (also located in the tools folder of the Android SDK) enables you to create an ISO disk image. The following command creates an ISO image that is 2GB in size (see also Figure B-13):

mksdcard 2048M sdcard.iso

Once the image is created, you can specify the location of the ISO file, as shown in Figure B-14.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset