I'm attempting to do the same thing as the author of this thread I believe, and was wondering if theres an alternate way to the tutorial you provided of accomplishing streaming audio. One of the resources on the dev site indicates you can stream an mp3 directly with MediaPlayer. Not long after I started playing around with this, I started receiving this error:
Command PLAYER_INIT completed with an error or info PVMFFailure error (1, -1) java.io.IOException: Prepare failed.: status=0x1 ... #with code MediaPlayer mp = new MediaPlayer(); mp.setDataSource(url); mp.prepare(); //also tried prepareAsync(); mp.start(); I've seen this error elsewhere on discussion boards and wonder if theres some extra consideration I'm missing? (Perhaps this was the error the original author was talking about. Not sure.) I don't know why prepare() is failing for me. The tutorial you posted seems to circumvent this by simply downloading the data and playing it locally. If need be, I can use the lower level constructs to accomplish this, I was just curious as to if there was a way to get this particular example working. Thanks! :) On Dec 14 2010, 11:38 pm, chamith weerasinghe <[email protected]> wrote: > hi > this<http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-stream...>is > a great tutorial for this. > > thanks > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

