How to add mp3 file to Android virtual device

I just started working with android and I was wondering if there is a way to add content to my virtual device for testing. For example add an mp3 file so that my code in my android simulator in eclipse can find that file. Any suggestions?

Update: After moving to the DDMS perspective, the pushing option is disabled, probably because there is no device. I am not getting this part because I am testing the device and its list in the AVD manager. Any suggestions? Why is push function disabled, why is there no device in DDMS if AVD Manager has one of them?

+3


source to share


1 answer


If you are using eclipse go to DDMS page. there you will see all connected devices (emulators). You will need to select an emulator and click on the right side of the window on the FileExplorer tab. There you will see all the files from your emulator. Copy your content to / sdcard folder.

You can also push mp3 file or folder using adb like this



adb push file.mp3 /sdcard

      

+2


source







All Articles