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. How can I sign my test application with Android Browser application certificate?

Browser application Android.mk file is:
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := user

LOCAL_STATIC_JAVA_LIBRARIES := google-framework

LOCAL_SRC_FILES := $(call all-subdir-java-files)

LOCAL_PACKAGE_NAME := Browser

include $(BUILD_PACKAGE)

# additionally, build tests in sub-folders in a separate .apk
include $(call all-makefiles-under,$(LOCAL_PATH))

I tried to sign my test application with platform certificates located
in <Android-srcRoot>/build/target/product/security/ directory but this
doesn't match.
I noticed that LOCAL_CERTIFICATE attribute isn't used.
Which certificate files are used for Browser application?

-- 

2. Getting Error 鈥淚nstallation e rror: INSTALL_FAILED_MISSING_SHARED_LIBRARY鈥

hi, I'm getting an error when trying to use an external jar file to
access Forward facing camera in Android. But when we try to load, i
get error ""Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY"
on my console window of myeclipse. " when i saw a log file, the error
was "unavailable shared library com.sprint.hardware.twinCamDevice"

-- 

3. read only file system

4. Thread crash if activity is restarted

5. Connection with eclipse ganymade

6. narrowing intent filters for PACKAGE_ADDED PACKAGE_REMOVED

7. Money Laundering and Education Re-Investment in U.S. Universities