The Music app on my 2.1 phone accepts the ACTION_VIEW intent, but it's not very friendly to use from other applications.
I'd like it to:
- Accept a song, descriptive text, and start time (so it can start in the middle of a song/podcast)
- Immediately begin playing the song
- Provide a user interface like the Android Music app
- Return which button was pressed (if applicable) and the current song position
- Return when the song ends
- Show in front of the lock screen.
- Hitting back from the app should bring me back to my application (maybe I have to use the app as a library for this?).
- Add itself to the status bar while the song is playing
- Continue to play the song when the app is not in the foreground
Is there anything like this, or do I need to build my own?