How to play songs in android emulator

All your problems with Audio, Video and Images.

How to play songs in android emulator

Postby harshadha » Thu May 08, 2008 6:03 am

Hai,

1. I want to know can we play songs in the Android Emulator.

2.If so can you please tell me the steps?

Iam running it in the Windows environment...

Thanks in advance

Regards,
Harshadha.
harshadha
Freshman
Freshman
 
Posts: 9
Joined: Mon Jan 21, 2008 8:01 am
Location: India

Top

Postby Jesmiatka » Thu May 08, 2008 9:36 am

This site has a search function!

One of the results is:
http://www.anddev.org/video-tut_-_playi ... -t156.html

Yours sincerely,
Mike
Jesmiatka
Senior Developer
Senior Developer
 
Posts: 164
Joined: Mon Feb 04, 2008 3:37 pm
Location: Netherlands

Playbacking audio.. Thanks

Postby harshadha » Thu May 08, 2008 10:15 am

Hai,

Thanks ...

But iam having a doubt even if we click on the buttons in the emulator will it play some sound or not???

If so iam not getting it.can you please tell me what will be the problem?

As you specified i used the link but when i was about to compile iam getting error in "import android.widget.Toast;" its not having that import statement.

Moreover i found another sample program from this site namely musicplayer,its compiled but its also not playing any sound..

Can you please tell me how to solve it.
Thanks in Advance

Regards,
Harshadha.
Regards,
Lavanya S.R
harshadha
Freshman
Freshman
 
Posts: 9
Joined: Mon Jan 21, 2008 8:01 am
Location: India

Postby Jesmiatka » Thu May 08, 2008 10:24 am

Add -useaudio to your command line options in the run dialog
Jesmiatka
Senior Developer
Senior Developer
 
Posts: 164
Joined: Mon Feb 04, 2008 3:37 pm
Location: Netherlands

Postby harshadha » Thu May 08, 2008 10:29 am

Hai,

Thanks..

But sorry,i cant get you....Actaully iam using Eclipse and iam running the sample application..

Thanks in Advance

Regards,
Harshadha
harshadha
Freshman
Freshman
 
Posts: 9
Joined: Mon Jan 21, 2008 8:01 am
Location: India

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 16 guests