This is a sample music player app which has play, pause and seek features. This is just a basic music player with a little customization. This type of app is suitable for mini projects. This basic music player also displays the default album art of the selected song. The app basically scans your whole External SD card recursively and add the songs to a Listview using a BaseAdapter class.
Understanding In Detailed
The src folder contains 4 java classes, the MainActivity.java which performs the adding of the songs in the ListView, ListData.java is just a structure class which handles operations of Song Name and Song Path. MyBaseAdapter.java is a baseadapter implemented class and the last, M2Activity.java is the class which does the rest of the work, i.e playing the clicked song.
You can find the .apk file which is located in the /SampleMusic/bin/SampleMusic.apk
Download the complete project here: SampleMusic
Found Bugs, Comment it, we will be glad to fix them 😉 !
Latest posts by Bikash Panda (see all)
- OSMC on Raspberry PI with Setup and Control using Android App - July 7, 2017
- DHT12 Interfacing with Raspberry Pi using Pi4J - June 19, 2017
- Send data using MQTT from Raspberry Pi with JAVA - June 12, 2017