A simple music player for Android

Related tags

Video/Audio MusicApp
Overview

RSShool2021-Android-task6-Music-App

Цель - реализовать простой музыкальный плеер на Android 🎵

Требования:

  • Данные о треках считываются с JSON-файла. Пример файла находится тут. Можете использовать данный или создать свой. JSON-файл добавляем в проект, в assets или res/raw. Необходимо распарсить JSON в список треков и работать с этим списком.
  • Плеер должен проигрывать треки по uri, которые вы получили из JSON. Минимум поддерживаемых контроллов: Play, Pause, PlayNext & PlayPrevious. Плеер показывает данные о текущем треке - название, автор и картинка.
  • Если трек играет, приложение показывает нотификацию (MediaStyle) с данными о треке (название, автор, картинка) и контроллами (Play/Pause, PlayNext & PlayPrevious)
  • Реализация поддержки rotation (состояние не сбрасывается). Реализация поддержки разных версий layout для portrait и landscape режимов
  • Вы должны выбрань одну из архитектур - MVP или MVVM - и реализовать её. View не должно хранить состояния, а получать их из Presenter (MVP) или ViewModel (MVVM) 👆 .

Дополнительные требования:

  • Поддержка AudioFocus
  • Реализация DI (e.g. Dagger)

См. best partices тут: https://developer.android.com/guide/topics/media-apps/audio-app/building-an-audio-app

для нотификаций: https://developer.android.com/reference/android/app/Notification.MediaStyle

Пример: см. демо-видео https://youtu.be/NYMURgYAibg

Пример экранов:

quiz app

quiz app

Удачи! 😎

You might also like...
Android music player example.
Android music player example.

Android music player example.

A elegant and light weight music player for android
A elegant and light weight music player for android

A elegant and light weight music player for android

Best material design music player for Android
Best material design music player for Android

Metro Material Design music player for Android music lovers Table of contents Downloads Differences between Metro and RetroMusicPlayer Screenshots App

Shuttle is an open source, local music player for Android.

Shuttle Music Player Shuttle is an open source, local music player for Android. Shuttle comes in two flavours: Shuttle (free) Shuttle+ The free versio

A material designed music player for Android
A material designed music player for Android

Vinyl Music Player A material designed local music player for Android. Forked from Phonograph; makes all Pro features free, as they used to be. Additi

 An offline music player android app, with modern UI and powerful features
An offline music player android app, with modern UI and powerful features

Pulse Music An offline music player android app, with modern UI and powerful features If you liked this repo, fork it and leave a STAR. Your support m

Android Offline Music Player
Android Offline Music Player

Howl Music Player A sleek and minimal offline music player made wit. Features Sleek and responsive UI , following material design Minimal layout with

Another local music player for Android built with Compose. Way too
Another local music player for Android built with Compose. Way too "local" so you likely won't need it.

AnotherAndroidLocalMusicPlayer Another local music player for Android built with Compose and media3 (ExoPlayer). Warning The app behaves strangly as i

Music player for android.
Music player for android.

Features 💡 Geet is an music player application to play songs in local storage of device. Songs are played in a queue. Queued songs can be deleted or

Comments
  • [Review] Task 6 by Nikita Novik

    [Review] Task 6 by Nikita Novik

    Оценка: 115 (недочеты по пункту с UI для проигрывания треков)

    Какие моменты заметил в лабе:

    1. [VCS] Папку .idea нужно убрать из Git’a. Для этого надо изменить .gitignore. Как это сделать я показывал на ревью Task 4
    2. [Notification] При скролле/переключении песни/остановке проигрывания через нотификацию моргает фон. Это вызвано тем, что при каждом таком обновлении перезагружается картинка заново. Хотя можно её закешировать и отдавать картинку из кеша. Пофикшено в 85e54e31e8a00ed5571fbf05eb27ba8c9f6ec335
    3. [UX] Прогресс не обновляется на главном экране. Пофикшено в 85e54e31e8a00ed5571fbf05eb27ba8c9f6ec335
    4. [UI] Не показывается duration аудио-записи. Пофикшено в 85e54e31e8a00ed5571fbf05eb27ba8c9f6ec335
    1. [UI] Когда мы приостанавливаем воспроизведение посредине трека и поворачивает экран, то спадает прогресс в самое начало
    2. [Notification] Информация по артисту всегда null. Пофикшено в 85e54e31e8a00ed5571fbf05eb27ba8c9f6ec335
    opened by friendoye 0
Owner
null
SocyMusic is an open-source Android music player written in Java with the aim of creating an easy-to-use app for exchanging and listening to top-quality music. Help us create it!

SocyMusic SocyMusic is an open-source Android music player written entirely in Java. It's objectives are to provide top-quality music to everyone for

Benji 23 Dec 26, 2022
Blade is an open source music player for Android, allowing you to play music from multiple services : files on your phone, Spotify, and more.

Blade Player Blade is an open source music player for Android, allowing you to play music from multiple services : files on your phone, Spotify, and m

Valentin HAUDIQUET 72 Jan 5, 2023
TunePlayer is a basic music player app aimed at showing how MusicServiceCompat and MusicBrowerCompat can be used to build a music playback service

TunePlayer TunePlayer is a basic music player app aimed at showing how MusicServiceCompat and MusicBrowerCompat can be used to build a music playback

Abdulmalik 6 Nov 18, 2022
This is a local music player, imitates the UI of Netease Music client.

Introduce This is a local music player, imitates the UI of Netease Music client. The UI was built on Jetbrains Compose. Screenshot Features Parse and

Konyaco 4 Dec 10, 2022
This is a local music player, imitates the UI of Netease Music client.

Introduce This is a local music player, imitates the UI of Netease Music client. The UI was built on Jetbrains Compose. Screenshots Features Parse and

Konyaco 4 Dec 10, 2022
Auxio is a local music player with a fast, reliable UI/UX without the many useless features present in other music players

Auxio A simple, rational music player for android. FAQ | Licenses | Contributing | Architecture About Auxio is a local music player with a fast, relia

null 3 Mar 21, 2022
Auxio - A simple, rational music player for android.

Auxio is a local music player with a fast, reliable UI/UX without the many useless features present in other music players. Built off of Exoplayer, Auxio has a much better listening experience compared to other apps that use the native MediaPlayer API. In short, It plays music.

OxygenCobalt 800 Jan 2, 2023
A simple music player for Android

RSShool2021-Android-task6-Music-App Цель - реализовать простой музыкальный плеер на Android ?? Требования: Данные о треках считываются с JSON-файла. П

null 0 Dec 19, 2021
Fermata Media Player is a free, open source audio and video player with a simple and intuitive interface.

Fermata Media Player About Fermata Media Player is a free, open source audio and video player with a simple and intuitive interface. It is focused on

Andrey 227 Jan 6, 2023
Echo is a lightweight and minimal music player for Android, built with Android Studio and written in Kotlin

Echo - Echo, A light-weight, minimal music player for Android, with shuffle, favorites and audio visualization

Divins Mathew 0 Feb 7, 2022