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(),

but i need play a mp3 file from my server

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



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. 



2010/4/22 Victor Hugo <>


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 <>

> >

Other Threads

1. Experimental Bluetooth Library

Hi all.

I've written a simple library that provides access to some Bluetooth
features: local device properties, remote device discovering, pairing
and client rfcomm connections management. Currently service discovery
and other feature are not supported. This library does not require a
rooted device: it works with any device with its bundled firmware
(I've made tests ona a T-Mobile G1 with "cupcake" and a TIM [Telecom
Italia Mobile] Dream with firmware 1.1).

It is an experimental library and, since it is deeply based on
reflection, it may stop work suddenly if something changes in future
release of Android. Nevertheless, it is suitable for having fun with
Bluetooth and using external devices such as LEGO robots, scan reader,
Arduino Bluetooth and so on.

Library source code, binaries and Javadoc have been published under
Apache 2.0 License at:

and a sample application (called "Bluetooth Samples") has been
published on the Android Market. I expect to improve the library in
the next weeks: comments and contributions are welcome.

Have fun with Android and Bluetooth!


2. ListView data binding from XML (REST-RPC request)


I currently building an adnroid apps that retrive data from a distant
Web service and i search an efficient way to bind data form XML to
I already use CursorAdapter and i search on the web for an
"XmlAdapter". I read on Google IO topic "Coding for Life -- Battery
Life, That Is" (
CodingLifeBatteryLife.html) that is more efficient to use "stream
parser" instead of "tree parser" but i don't find the way to build a
class that implement ListAdapter because of stream parser can't
navigate backward so i don't understand how implement method that use
"position" parameter (How retrive data before curent XML Parser
position ???).

I don't find solution for this problem on the web after make search
(maybe a don't make good search), so could you give me the way to
solve my problem ?



3. HTC Hero has multi-touch. SDK support?

4. Drawing in a child View

5. Vertical and Horizontal Scrolling together

6. Open Market

7. Gempa Mentawai