Res: What is Mediaplayer.[..] onBufferingUpdate actually telling me?

by Luiz Fabiano Cruz » Thu, 30 Jul 2009 01:20:59 GMT


Sponsored Links
 hi,

You don't get updates because your player is consuming the media data, so as 
soon as the data is arrived (from remote source) it's being played.
try to pause for a while to see what happens. 
the idea is don't let the buffer gets empty or you will have to restart the 
player (i'm not sure this happens in android, it DOES in java).

br
fabiano





________________________________
De: zero <zeroo...@googlemail.com>
Para: Android Developers <android-developers@googlegroups.com>
Enviadas: Quarta-feira, 29 de Julho de 2009 11:31:12
Assunto: [android-developers] What is Mediaplayer.[..] onBufferingUpdate 
actually telling me?


Hi all

I'm trying to play streamed mp3 from a remote source. basically it
works, but the behaviour of the bufferingupdate listener is a riddle
to me. I either get no calls at all, or updates like 1% , 2% then
nothing more. music is playing already, but the buffering never goes
to 100%.  which i think is the cause for getting "unknown mediaplayer
errors" after calling pause/stop and then start again.

so, ??? ideas ??

zero



      
____________________________________________________________________________________
Veja quais so os assuntos do momento no Yahoo! +Buscados
 http://br.maisbuscados.yahoo.com 
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Cloning/Forking of processes within Android (PCB or process descriptor question)




Only if you are implementing this within the system itself.  Of course this
also seriously violates the security model, so really don't do this.



Not at all.  Even outside of the SDK, forking or cloning of an app process
is not supported.



Suspend/resume, no; on another device, not a chance.



Android at this level is Linux.



It is Linux.

You are facing a tremendous task.  Good luck.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. How can I keep current screen (contentView) when l Iaunch a new Activity

Hi,

I have an NoContentViewActivity which has no Content View (i.e. I did
not call setContentView() in the onCreate of my Activity).
My question is how can I keep the content view of the launching
activity on the screen? Right now, I am getting a blank screen
whenever I launch NoContentViewActivity? I want the content view of
the launching activity (the activity which start the
NoContentViewActivity) to show on the screen.

Thank you for any help.

-- 

3. porting dalvik to a nommu processor

4. Dalvik Specifications

5. Feature request - how do I make one?

6. Cloning/Forking of processes within Android (PCB or process descriptor question)

7. Android email client