Confirmed users
971
edits
Line 7: | Line 7: | ||
=== Overview === | === Overview === | ||
Music the music player. | Music is the music player application. It plays music stored on the SD card. | ||
The app keeps a database containing references to audio files and meta data in sync. It uses DeviceStorage to access the files and has code to parse ID3/Ogg/MP4 meta data like song title, artist, album, etc. It can also extract the album art from a file. | |||
The app can also be used by third-party applications to play files. Using an intent other apps can send a blob to the Music app which will then open a player. | |||
The app is aware of headphones being plugged in/out using the mozAudioChannelManager API. | |||
Audio files can be shared through BlueTooth by using a long press on a song. I was unable to test this because although my Mac and Unagi phones were correctly paired, setting up a file transfer failed. Both ways. | |||
===Architecture=== | ===Architecture=== |