Dear friends,
please, in Android 8, if I am using:
I get this error:
Please, what does it mean?
please, in Android 8, if I am using:
B4X:
Dim rr As Reflector
rr.Target = rr.RunMethod2("getSystemService", "audio", "java.lang.String")
rr.RunMethod2("setSpeakerphoneOn", True, "java.lang.boolean")
I get this error:
java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
Please, what does it mean?