A music player app will have control to
1) Start a foreground service to start playing music (store some music files in appropriate resource directory)
2) Stop playing the music
3) Start another activity that checks if the Internet connection is available, if so it talks a music player server and downloads the music files and save in appropriate files that are private to the app
4) It will have broadcast receivers for the following actions BATTERY_LOW, POWER_DISCONNECTED, BATTERY_OKAY
shreyagoel03 / music-player-android-mobile-application Goto Github PK
View Code? Open in Web Editor NEWMusic Player that plays and stops songs and also downloads songs through URL and plays them.