Sound Not Working On Raspberry Pi With Android Things
Recently we flashed Android Things on raspberry Pi 3 and everything is working fine except sound. I tried connecting 3.5mm jack earphone and hdmi screen as well in different combin
Solution 1:
adb shell am start -a android.intent.action.VIEW
Is telling Android to fire an intent with the action VIEW
to "View the mp3". AndroidThings is not like Android AOSP - it does not have any built in apps. Therefore it doesn't have an app that can VIEW
i.e. play your MP3.
To play an mp3 in your own application, you need to ensure the file is compatible with the system. See here for supported media formats
If it is ok then you have the correct code for playing the media file (more info here). Then you should check the logs to see if it is playing.
Solution 2:
I suspect it is related to following API with Audio management: https://developer.android.com/things/sdk/drivers/audio.html
Post a Comment for "Sound Not Working On Raspberry Pi With Android Things"