Hi,
can someone help me ?
The code initialize a call and set on the loudspeaker.
This code works on android 2.3.3. in main activity but doesn't work in a service.
The same code doesn't work in android 4.1.2 .
Is there a way to run the code in a service and in all android os ?
Thank you in advance.
Ciao
p.s. sorry for my english
can someone help me ?
The code initialize a call and set on the loudspeaker.
This code works on android 2.3.3. in main activity but doesn't work in a service.
The same code doesn't work in android 4.1.2 .
Dim pc As PhoneCalls
StartActivity(pc.Call(cellnumber))
'open speakerphone
Dim rr As Reflector
rr.Target = rr.GetContext
rr.Target = rr.RunMethod2("getSystemService", "audio", "java.lang.String")
rr.RunMethod2("setMode", "2", "java.lang.int")
rr.RunMethod2("setSpeakerphoneOn", True, "java.lang.boolean")
Is there a way to run the code in a service and in all android os ?
Thank you in advance.
Ciao
p.s. sorry for my english