Hi.

I created a new android virtual device through the "Android Virtual Device
Manager" by doing the following:
1. Launch AVD Manager.
2. Click "New"
3. Fill in the following options:
  - Name
  - Target
  - SD Card size: 512MiB

This sames the virtual machine here:
C:\Users\USER_NAME\.android\avd\VIRTUAL_DEVICE_NAME.avd

Under this path I have a file called "sdcard" which I assume is the 512Mb SD
card I created.

My question is how do I fill this will all the contents in a folder on my c
drive (including that folder). For instance, if I have a folder called maps
with a number of different files and folders inside, and I want to put all
the data on my sd card how would I do that? Here is what I tried:

1. Open cmd
2. navigate to adb.exe
3. use cmd:
   adb.exe push "C:/maps" to
"C:\Users\USER_NAME\.android\avd\VIRTUAL_DEVICE_NAME.avd\sdcard.img"

The result was that one file inside the C:/maps folder was being copied over
to the sdcard.img and it gave an error saying the path did't exist.

Next I tried to put one single file on there using:
  adb.exe push "C:/maps/test.txt" to
"C:\Users\USER_NAME\.android\avd\VIRTUAL_DEVICE_NAME.avd\sdcard.img"

and I got an error that "sdcard.img : Read-only file system"

What is the fix to this? I basically want to create an sd card, put a folder
structure with files on that sd card and mount the sdcard to my virtual
device.

Thanks,
Nick




--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Adding-content-to-an-SD-card-tp5711804.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to