audio - How to switch the android music output device -
i'm doing test work on android music playback. have headset , bluetooth headset connect phone @ same time. there 4 output devices can play sound: speaker, handset, headset, , bt_headset. want know is: there way switch audio output 4 device using code? cant switch between speaker , handset if there no headset plugin using audiomanager.setmode(). but, if headset plugin sound can not out handset. then, if headset , bt_headset connect @ same time, sound out later connect one.
Comments
Post a Comment