How to turn on Speakerphone button during call

51 views
Skip to first unread message

lateboomer88

unread,
Aug 26, 2019, 3:53:14 AM8/26/19
to Automate
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?

Henrik "The Developer" Lindqvist

unread,
Aug 26, 2019, 1:47:02 PM8/26/19
to Automate
Try using the App start block with package: com.google.android.dialer
Reply all
Reply to author
Forward
0 new messages