Welcome to part 2 of our Streaming MP3 player tutorial. Part 1 can be found
here.
AND FOR THOSE WHO WANT A PAUSE BUTTON, here an update: click here!
Last time I've showed you how to create a basic mp3 streaming player using XML, you got all the basics you need, you have the functionality, you got the code. Now it's time to show you a bit more that is needed/possible.
Upon request on the forum, I will show you this:
- Time display
- Volumecontrol
- ..some more small things
Let us start with something easy.
Display of further elements (like artist)
Maybe you already found on the P2L forum a topic regarding this mp3 player, and someone that didn't knew how to put the artist/group on the same text field.
Here's how I've solved his problem.
XML:
I've just created a new attribute called band:
<song name ="Test1" band ="Twodded Band" file="test1.mp3"/>