Marco, thanks for the info. By level 3, I meant API Level 3.
If android doesn't support it natively in 1.5, does anyone know if there is code available to do it? On Oct 20, 6:58 pm, Marco Nelissen <[email protected]> wrote: > On Tue, Oct 20, 2009 at 12:08 PM, sirdan <[email protected]> wrote: > > > In 1.6 I do the following to stream an mp3 shoutcast stream: > > > MediaPlayer mp = new MediaPlayer(); > > try { > > mp.setDataSource("http://xxx.net/my.mp3"); > > mp.prepare(); > > } > > catch(Exception ex) > > { > > alert(ex.getMessage()); > > } > > > This works great. However, I have to support phones running 1.5 as > > well. When I build against the 1.5 libraries and run in a level 3 > > emulator, I get an exception on the prepare() call with the message: > > What is a "level 3 emulator" ? > > > Prepare failed.: status=0x1. > > > Is this supported in 1.5. Is there some other mechanism I have to use > > that will work in both? > > 1.5 does not support shoutcast streaming --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

