I will quickly summarize.

Samsung Galaxy S3, when I run some app with the headphones plugged and for 
some reason, if the app freezes or any other issue. The phone thinks that 
it have the headphones plugged yet. Although it's been unplugged.

I am developing an app to fix this samsung firmware problem.

*AudioManager* returns me "true" with the function *isWiredHeadsetOn*, with 
or without the plugged headphones. My question is that since old api of 
android, *setRouting* or setWiredHeadset are deprecated, and I don't know 
can I change the value of isWiredHeadsetOn to returns me false.

I don't know if I explains me well.

AudioManager manager = (AudioManager)getSystemService(Context.AUDIO_SERVICE);
manager.setMode(AudioManager.MODE_NORMAL); 

This setMode don't change the wiredheadset value.

Thanks for your advices.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to