1
I want to force the device to use its own microphone, not the headset I tried using the command "android.intent.action.HEADSET_PLUG" in the shell but I think I’m using it wrong.
Can someone help me
Note have root .
1
I want to force the device to use its own microphone, not the headset I tried using the command "android.intent.action.HEADSET_PLUG" in the shell but I think I’m using it wrong.
Can someone help me
Note have root .
Browser other questions tagged android shell
You are not signed in. Login or sign up in order to post.
This is within your application?
– Pablo Almeida
This is not a command, it is a constant of android. When you use it in a
BroadcastReceiver
, android notifies you every time the user plugs in or unplugs the headset. Use the library Audiomanager– Valdeir Psr
Correct me if I’m wrong, to use a constant I need to use a class first ?
– Lucas Carvalho
I’m very new in programming I only know how to read in Java and it’s not even there those things, I wanted to do a function in an application (Tasker) Oday time I put the phone it automatically turns off the headset’s microphone on the device
– Lucas Carvalho
Don’t you have any kind of command like this (low_power 0 global put Settings) to turn off the headset microphone? I’m gonna have to write a whole code for that ?
– Lucas Carvalho