标签:android blog io java sp on 2014 log as
切换为听筒模式声音由听筒发出
am = (AudioManager)getSystemService(Context.AUDIO_SERVICE);//听筒模式</span>切换为正常模式
am.setMode(AudioManager.MODE_NORMAL); //正常模式
am.isSpeakerphoneOn();
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
标签:android blog io java sp on 2014 log as
原文地址:http://blog.csdn.net/wds1181977/article/details/40649511