play external .mp3 file

by Victor Hugo » Fri, 23 Apr 2010 00:18:00 GMT


Sponsored Links
 Hi people,

im playing a mp3 file on my emulador using
that code:

MediaPlayer mediaPlayer = Player.create(getApplicationContext(),
R.raw.mymusic);
mediaPlayer.start();

but i need play a mp3 file from my server
example:  http://www.myserver.com/mymusic.mp3 

how do i to play that mp3 file????

hugs

--



play external .mp3 file

by Rog茅rio de Souza Moraes » Fri, 23 Apr 2010 00:43:15 GMT


 Hi Victor,

take a look at this tutorial. I think this is what you want.

 http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/ 

Regards,

Rogerio

2010/4/22 Victor Hugo <vhs...@gmail.com>

>


Sponsored Links


play external .mp3 file

by Victor Hugo » Fri, 23 Apr 2010 03:04:48 GMT


 ty Rogrio

On 22 abr, 13:43, Rogrio de Souza Moraes <rogerio.so...@gmail.com>


> >



Other Threads

1. Paging X10 user

Baru kemarin ambil di SE. Masuk market puyeng banyak bener programnya. 

Apa aja sih program yang kudu ada di X10 atau Android secara umum?

Trims. 

Mohammad Jaedi
Mon, Apr 12, 2010 - 13:17:43 

-- 
"Indonesian Android Community [id-android]" 

2. java.io.IOException: sad result from adb:

Hi Folks,

I am using eclipse to create an android app. I have recently started
getting the following error (and others that also say 'sad result from
adb') a lot

java.io.IOException: sad result from adb:

After this error, the emulator gets disconnected and is not identified
when eclipse is asked to relaunch the application. I have to do a 'adb
kill-server' and then 'adb start-server' to get it to be identified by
eclipse again.

Has anybody else run into this? Any ideas why I am getting this and
how I can fix it?

Thanks
Saurabh

-- 

3. Exchange Mail client dan Outlook sync

4. .apk and system.img

5. possible to send an xml file via HttpClient?

6. How do I import to eclipse projects that come with the android source?

7. is java.security.* packages used in Android?