Hi All, I am trying to create new media player which can play songs with streaming option. I am able to create media player with hard coding songs option using below code.
final String url[] = { " http://project-tango.org/Projects/TangoBand/Songs/files/A%20La%20Gran%20Muneca.mp3 ", " http://project-tango.org/Projects/TangoBand/Songs/files/Malena.mp3", http://project-tango.org/Projects/TangoBand/Songs/files/Tengo%20Mil%20Novias.mp3 }; mediaPlayer = new MediaPlayer(); mediaPlayer.setAudioStreamType(AudioManager.STREAM_M); try { mediaPlayer.setDataSource(url[counter]); mediaPlayer.prepare(); } catch (IllegalStateException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } mediaPlayer.start(); My questions is, how can I create media player with folder option? I would like create like "radiokushi". Could you please give me some guidence/startingpoint Thanks in advance. Regards, Satya. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en