There was a thread about this which offered the following code
I tried on my Samsung S4 the following but the speaker does NOT come on...Any ideas how to fix this?
thanks
I tried on my Samsung S4 the following but the speaker does NOT come on...Any ideas how to fix this?
B4X:
StartActivity(PCall.Call("xxxxxxxxxxx"))
Dim rr As Reflector
rr.Target = rr.GetContent
rr.Target = rr.RunMethod2("getSystemService", "audio", "java.lang.String")
rr.RunMethod2("setSpeakerphoneOn", True, "java.lang.boolean")
thanks