answer88
answer88

Reputation: 175

emulator and uploading video

Does anyone help me about android emulator? I am trying to push a .mpg file into the sd card but I can not see the file when I run my application. Does emulator support .mpg files?

Secondly, I want to upload a video to asp.net server but I can not send the file and I get the out of memory error in my code. I am using multi part upload. On the other hand this code is able to upload a jpeg file to the server and it was successful.

Upvotes: 2

Views: 2947

Answers (1)

sunil
sunil

Reputation: 6614

to upload a file to emulator instance

  • create a new emulator using AVD. make sure that you have chosen 'SD Card support' for this. refer image below

AVD with SD card support

  • Start the AVD and wait till the emulator loads fully
  • Now in eclipse IDE, select DDMS perspective, by Window -> Open Perspective -> DDMS
  • Select File Explorer tab to get the directory tree of your device.
  • Select mnt -> sdcard folder. This is your SD card
  • Now use the 'Push file onto the device' button on top to push a file to the emulator instance.

enter image description here

  • The file is in the SD card of your emulator

Upvotes: 3

Related Questions