how to placed 3 gp files into data folder in emulator

All your problems with Audio, Video and Images.

how to placed 3 gp files into data folder in emulator

Postby yatishrao.mishra » Mon Jun 02, 2008 5:50 pm

hi friends ,

i want to placed 3gp file into data folder in emulator.
so how can i do.
plz suggest me answer.its urgent
thanks in advance.
Posts: 8
Joined: Fri May 23, 2008 4:33 pm


Postby kiran » Tue Jun 03, 2008 5:05 am

You can use adb push command to do this. 'adb push test.mp3 sdcard/test.mp3'.
:) smile it is the key that fits the lock of everybody's heart
User avatar
Experienced Developer
Experienced Developer
Posts: 78
Joined: Thu Nov 22, 2007 11:36 am
Location: India

Postby celia » Tue Jun 24, 2008 10:22 am


[fade]'adb push test.mp3 sdcard/test.mp3'.[/fade]

1. what does the sdcard mean here?
2. I'm able to see emulator.exe in the sdk/tools folder. I didn't find data folder anywhere in the sdk.
I created the data folder under tools folder, placed the .mp3 file there and from the cmd prompt ran the cmd.
sdk\tools\adb push test.mp3 sdcard/test.mp3

but the file is not being played. Is there any other settings I've to do to run the .mp3/.mp4 file on the emulator?????????
Once Poster
Once Poster
Posts: 1
Joined: Tue Jun 24, 2008 7:35 am

Postby hebbalhrk » Tue Jun 24, 2008 11:44 am


U can run your media files from the res/raw folder or from the /data folder or from the /sdcard.

To run media from /res/raw folder,
create folder raw under /res folder of ur package structure
copy media files into the /raw folder, say u copied song.mp3 to the res/raw folder
u can run the media file my specifying

To run media from /data folder
run the emulator, allow it to load-up
goto start menu and run the command prompt, go to tools directory in the android sdk
Lets say you have your unzipped android sdk at c:\android\android_sdk_windows_m5-rc20a
In the command prompt run command
cd c:\android\android_sdk_windows_m5-rc20a\tools
Now ur in the tools directory of the android sdk
Run command
adb push c:/song.mp3 /data/song.mp3
this copies song.mp3 file from C drive to the data folder of the emulator
u can run the media file my specifying path as /data/song.mp3

To run media from /sdcard, refer link below
Posts: 37
Joined: Wed Jun 18, 2008 10:35 am


Return to Multimedia Problems

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 11 guests