[android-developers] Problem with MediaPlayer while playing sequence (or) Multiple Files

2011-09-26 Thread julious raj
Hello developers, I am facing one big issue with my application. AFAIK the mediaplayer datasource should be Uri(or) FileDescriptor(or) Path. I have loaded my Files to assets. So i used FileDescriptor as datasource for my player. My problem is whenever i try to play any file the first file from a

[android-developers] problem with Mediaplayer onBufferingUpdateListener and onPreparedListener.

2011-09-21 Thread Boram Han
I am using MediaPlayer to play music through url. (streaming) It is playing fine most of deivces. But for some devices it works strangely. Here is log. -- 09-22 14:4

[android-developers] problem with mediaplayer playing from a file descriptor of a inet socket

2011-02-03 Thread nasif-android
Hi justin, In media player Api of android we can start media player after setting datasource as a fd. So i opened filedescriptor of an inet socket and passed fd to setdatasource for the mediapalyer.. But my application exit with the following crash 01-29 17:40:24.041: ERROR/MediaPlayerSer

[android-developers] Problem with mediaplayer to play live streaming audio

2010-11-08 Thread gvenugopal
Hi friends, In my music app, i would like to play live streaming like radio broadcasting with mediaplayer as Mediaplayer mp = new Mediaplayer(); mp.setDataSource(LiveStreamingURL); mp.prepare(); mp.start(); but after playing for few seconds it is stopped. I dont know how to overcome it. Give me

[android-developers] Problem with mediaplayer

2010-03-02 Thread Nejc Kikelj
Hello, I have a problem with mediaplayer. I have a simple video that should be played from internet. Sound works, but I can't get the video... Code: public void onCreate(Bundle icicle) { Log.v(TAG,"onCreate"); super.onCreate(icicle); reques

[android-developers] Problem with Mediaplayer onBufferingupdateListener - onBufferingupdate() not giving percent for "rtsp" links

2009-04-08 Thread jayant
Hi, I am using MediaPlayer to play videos through "rtsp" links. It is playing fine on device, but I also want to show the Buffered data in a ProgressBar. But attaching onBufferingupdateListener to the player, I am only getting values as 0 and 1 and that too for only 5-6 repititions. However, I