Description
In this Project we are going to make a music player. Here the app has play and pause button for the music.App also contain Volume seekbar to increase or decrease the volume and Next and Previous Button to change the Music.Demo Video
Step 1
Open the Android Studio and Create a project.
Note: You need to download some music to play in the app.
Step 2
Create a raw folder in the resource folder and paste the music in the raw folder.
Note: the folder named must be "raw".Do not change the name of the folder.
Step 3
Next paste the Given xml code in the activity_main.xml
Step 4
Next paste the given java code in the MainActivity.java
Note: change the code while adding the music name.(Commented line)
Step 5
Run the code in your mobile.
Thank You
Comments
Post a Comment