The Music Player App is an implementation of a Music Player for playing audio files on Android devices. It demonstrates various essential concepts and features in Android development, including Permissions, Content Providers, Media Player, Cursor for querying audio files, Jetpack Navigation, Navigation Arguments, Fragments, Handler, Looper, and Runnable. The project is entirely written in Kotlin, leveraging its concise syntax and powerful features.
- Audio Playback: The app allows users to play audio files stored on their Android devices.
- Permissions: Demonstrates the implementation of runtime permissions for accessing audio files.
- Content Providers: Utilizes Content Providers to query audio files throughout the Android device.
- Media Player: Uses Android's Media Player API to handle audio playback.
- Cursor: Utilizes Cursor for querying audio files across the device.
- Jetpack Navigation: Implements Jetpack Navigation for smooth navigation between different screens.
- Navigation Arguments: Utilizes navigation arguments to pass data between fragments.
- Handler, Looper, and Runnable: Utilizes Handler, Looper, and Runnable for managing background tasks and asynchronous operations.
To get started with the Music Player App, follow these steps:
- Clone the repository to your local machine.
- Open the project in Android Studio.
- Build and run the app on an Android device or emulator.
Once the app is running, you can:
- Navigate through different screens using the provided navigation.
- Grant necessary permissions for the app to access audio files.
- Browse and play audio files stored on your device.
- Player has the option to seek Backward/Forward or through seekbar.
- Player has otpion to repeat song
- Player can Play/Pause the song
- Player queries all the audio songs from the device and displays it on the screen. Click any song to play it
Contributions are welcome! If you have any suggestions, feature requests, or bug reports, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- The development of this app was inspired by the need for a simple yet functional music player.
- Thanks to the Android developer community for their valuable resources and support.
- Special thanks to the JetBrains team for creating Kotlin, making Android development more enjoyable and productive.