A Simple Yet Feature-Rich Music Player Application based on Native MediaPlayer.
Try it yourself and I’d love to hear your feedback 🙂:
The online mode enables users to stream music using remote data sources.
The following components and libraries are used to implement the online streaming feature:
- Retrofit – for making network API requests
- REST API – to fetch online music data
- ViewModel – to manage UI-related data lifecycle-aware
- LiveData / StateFlow – for observing music data changes
- Coroutines – for asynchronous background operations
- RecyclerView / LazyColumn – to display online music list
- ExoPlayer – for streaming and playback
- Internet Permission – required for network access
- Fetch music data from an online source
- Stream music directly without local storage
- Separate handling of offline and online modes
- Graceful UI updates based on network responses
Note: This mode requires an active internet connection.
Actual app looks even better! 😃
- Play/Pause Audio using earphones.
- Play Next feature—schedule upcoming songs.
- Dark Theme with black theme option in settings.
- Custom Color Gradient for each song based on album art.
- Favorite Songs for easy access.
- Create & Manage Playlists.
- Sleep Timer for auto-shutdown.
- Audio Booster and Built-in Equalizer.
- Custom Themes for personalization.
- Swipe to Refresh UI.
- Background Playback with custom notifications.
- Android 10 notification with seek bar.
- Clean and modern UI with Material Design Widgets.
- And much more...
Watch the full YouTube playlist:
Watch on YouTube
This project is much more improved and optimized than the YouTube course project, with new features and better performance.
For any feedback or suggestions, feel free to contact me via email:
📧 rajpurohitharsh2020@gmail.com