Hi,
My phone is Realme C2 and the Speakerphone Set State block is not working for it. Therefore, I am thinking to use another block to turn the speakerphone on/off during calls.
I tried to use the Interact block to record the interaction to click the speakerphone button to on, and the result is as such:
package -->com.google.android.dialer
UI Element class -->android.widget.LinearLayout
UI Element text --> Speaker, is on
UI Element ID (android 4.3+) --> com.google.android.dialer:id/incall_third_button
So, what blocks should I use to turn the speakerphone on or off? Should I use App Start block or Service Start block? What are the Service Class or Activity Class and Action should I put?