Read this first (→ point 1):
Here's a more sophisticated music player app that might not be a good first try for beginners.