Dhun Music player made for internship project
Dhun is a simple music player application for Android that allows you to play local audio files on your device. This repository contains the source code for the Dhun Music Player project.
- Display a list of songs available on the device's external storage
- Play, pause, and control the playback of audio files
- Seek through the song using a seek bar
- Fast forward and rewind functionality
- Automatically play the next song when the current song finishes
- Song information display, including the song name, start time, and end time
- Rotate the song image during playback
- Custom UI with a dark theme
Before running the application, make sure you have the following:
- Android Studio installed on your machine
- An Android device or emulator running Android 4.0.3 (Ice Cream Sandwich) or higher
To get started with Dhun Music Player, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/dhun-music-player.git
-
Open the project in Android Studio.
-
Build the project to resolve any dependencies.
-
Run the app on your Android device or emulator.
Upon launching the app, Dhun Music Player will request permission to read external storage. Grant the necessary permission to allow the app to access and display the available songs.
The app will display a list of songs found on the device's external storage. Tap on a song to start playing it. You can control the playback using the buttons provided, such as Play, Pause, Next, and Previous.
Use the seek bar to navigate through the song. The current song's start time and end time are displayed, and they update as the song progresses.
You can also fast forward and rewind the song by tapping the respective buttons. The song image rotates during playback, providing a visual effect.
Contributions to the Dhun Music Player project are welcome. If you find any bugs or want to suggest enhancements, please create an issue or submit a pull request.
When contributing to this repository, please follow the existing code style, naming conventions, and commit message format.
This project is licensed under the MIT License. See the LICENSE file for more information.
-
The Dhun Music Player app was developed as a learning project and makes use of various Android components and libraries.
-
The project utilizes the Dexter library for handling runtime permissions.
-
The app design and layout were inspired by modern music player interfaces.
## THANK YOU ##