Skip to content

amanbhobhria/MusicPlayerApp

Repository files navigation

Music Player App

A simple and efficient music player application built using Kotlin with seamless playback controls and an intuitive user interface. This app demonstrates the integration of ExoPlayer for media playback and includes features like background playback, notifications, and call handling.


Features

🎵 Core Features

  • Play Tracks from URLs: Supports streaming audio tracks from provided URLs.
  • Seekbar for Navigation: Allows users to easily seek within the track.
    -ExoPlayer Integration: Utilizes ExoPlayer for smooth and reliable audio playback.

📱 User Interface

  • Clean and simple design for easy navigation.
  • Controls include Play, Pause, and Seek functionalities.

🔔 Background Controls

  • Playback controls available in the notification panel for quick access.
  • Persistent notification ensures smooth playback even when the app is minimized.

📞 Call Handling

  • Prioritizes calls by automatically pausing playback during incoming or outgoing calls. Playback resumes once the call ends.

Technologies Used

  • Kotlin Main programming language.
  • ExoPlayer: Powerful library for audio and video playback.
  • Android Media Session API: For handling media controls in notifications.

How to Use

  1. Launch the app and select a track URL to play.
  2. Use the Seekbar to navigate through the track.
  3. Control playback directly from the notification panel.
  4. Playback will pause automatically during calls and resume afterward.

Screenshots

Track 1 Track 2 Notification
Screen1 Screen2 Playing control in notification

Requirements

  • Minimum Android API level 21 (Lollipop)
  • Internet connection for streaming tracks

Future Enhancements

-Add a playlist feature. -Enable offline playback by downloading tracks. -Support for custom equalizer controls.

#Feel free to explore and contribute to the project! 🚀

Releases

No releases published

Packages

No packages published

Languages