Skip to content

The Music Player App is an Android implementation showcasing Permissions, Content Providers, Media Player, Cursor, Jetpack Navigation, Fragments, Handler, Looper, and Runnable. Written in Kotlin, it leverages its concise syntax and powerful features.

Notifications You must be signed in to change notification settings

divyanshuk10/Music-Player-App

Repository files navigation

Music Player App

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.

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.

Getting Started

To get started with the Music Player App, follow these steps:

  1. Clone the repository to your local machine.
  2. Open the project in Android Studio.
  3. Build and run the app on an Android device or emulator.

Usage

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

Contributing

Contributions are welcome! If you have any suggestions, feature requests, or bug reports, please open an issue or submit a pull request.

Screenshots

description description description

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • 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.

About

The Music Player App is an Android implementation showcasing Permissions, Content Providers, Media Player, Cursor, Jetpack Navigation, Fragments, Handler, Looper, and Runnable. Written in Kotlin, it leverages its concise syntax and powerful features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages