Unique Culture

Archive for November, 2010

27 Nov, 2010

Get Stream Metadata with Plain Java for Your Android App

Posted by: Sergei Izvorean In: Coding

Currently working with Android API to develop a radio-listening app for Penn State. While streaming music isn’t much of a problem with use of MediaPlayer API, getting stream’s metadata is little bit of a challenge. Since the SHOUTcast standard isn’t open-source there is no clear documentation on how to deal with metadata. One resource was able to explain the protocol. However, many online implementation are using a 3rd party library which isn’t suitable to drop-in into your Android project.



  • imon: Getting error in Java "Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.su
  • vijae manlapaz: hi, i have use the code in this post i was able to make it work but instead of displaying the song title it displayed the site title here is the co
  • Andras Hatvani: It's working, thanks for sharing it. I'm not sure, whether to use a proxy or recurring polling with an AsyncTask...

Flickr PhotoStream

  • Detail View on the Gopuram |           Sri Mariamman Temple
  • Charmingly Beautiful Idol Of Hindu Lord - Shri Ghanshyam Maharaj
  • Take a picture, man!
  • Brimstone

About

Pittsburgh web and application developer @ Eyeflow and Penn State student.