Enrico D'Ortenzio

Results 106 comments of Enrico D'Ortenzio

RequiresApi + intent filter (android.service.quicksettings.action.QS_TILE) should already do the trick "Denotes that the annotated element should only be called on the given API level or higher" You can't add tiles...

TileService was added in API 24 https://developer.android.com/reference/android/service/quicksettings/TileService I can't really understand how older devices can experience a crash if no tile is available. @OxygenCobalt what's your take on this issue?

You have to select project folder :) ![Senza nome](https://user-images.githubusercontent.com/7274841/189841585-6fd2be3e-c857-4290-b200-6d2e71c40d47.png)

To get songs and metadata you have to run a query on Android MediaStore https://github.com/enricocid/Music-Player-GO/blob/d323e830371e0f36fba6b804b420a130676303e5/project/app/src/main/java/com/iven/musicplayergo/MusicViewModel.kt#L88 Official docs: https://developer.android.com/training/data-storage/shared/media For bitrate https://github.com/enricocid/Music-Player-GO/blob/d323e830371e0f36fba6b804b420a130676303e5/project/app/src/main/java/com/iven/musicplayergo/extensions/MusicExts.kt#L76 https://developer.android.com/reference/android/media/MediaExtractor Albums embedded covers https://github.com/enricocid/Music-Player-GO/blob/d323e830371e0f36fba6b804b420a130676303e5/project/app/src/main/java/com/iven/musicplayergo/extensions/MusicExts.kt#L93 I just appended the...

Closing for now. If you have any questions don't hesitate to add comments 😉

Should be fixed now :)

@OxygenCobalt Already doing 😆 https://github.com/enricocid/Music-Player-GO/blob/0a40c107865e1b3f65cfa2f12c893e158bd6c4bd/project/app/src/main/java/com/iven/musicplayergo/extensions/MusicExts.kt#L97

Yes, there's something wrong in that extension 😆 I'll post an apk later (sorry, but I still don't have A13 running on my device, only emulator)

Could you post me some screenshots? 1) Cover option disabled 2) Cover option enabled (but no cover available) 3) Cover option enabled (cover available) Thanks :)