New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Q&A]: How can I build MPGO in Android Studio? #471
Comments
Thanks a lot. It worked. I am curious how you implemented reading metadata from files. Is there any document which describes the approach you have implemented? |
To get songs and metadata you have to run a query on Android MediaStore Music-Player-GO/project/app/src/main/java/com/iven/musicplayergo/MusicViewModel.kt Line 88 in d323e83
Official docs: https://developer.android.com/training/data-storage/shared/media For bitrate Music-Player-GO/project/app/src/main/java/com/iven/musicplayergo/extensions/MusicExts.kt Line 76 in d323e83
https://developer.android.com/reference/android/media/MediaExtractor Albums embedded covers Music-Player-GO/project/app/src/main/java/com/iven/musicplayergo/extensions/MusicExts.kt Line 93 in d323e83
I just appended the given id (content://media/external/audio/albumart") to the end of the song uri 😉 |
Thanks for the quick reply. These are really helpful. |
Closing for now. |
What are You thinking?
I am a newbie in Android Development and trying to understand how Music Player Go works under the hood. I cloned the repository on Android Studio and tried to build the application without any changes to the source code. Could you please help me to build and run the app on an emulator?
Code of Conduct
The text was updated successfully, but these errors were encountered: