Auto answer voice or whatsapp calls

248 views
Skip to first unread message

Shahab

unread,
Sep 24, 2024, 6:34:12 AM9/24/24
to Automate for Android

Hi guys, I need to either

  1. Auto answer video calls on whatsapp automatically or

  2. Auto answer regular voice calls (speaker must be turned on + screen as well) automatically

I havet tried a brunch of apps without any luck and realised it has total be automated. It needs to work on "Samsung Tab Active5" tablet.  I need this solution to help a friend whose relative has dementia and forgotten how to answer calls at their nursing home, so at the moment they must call the reception each time to be able to speak with the relative instead of the person directly.

Any help would be highly appreciated.

Henrik "The Developer" Lindqvist

unread,
Sep 26, 2024, 11:16:53 AM9/26/24
to Automate for Android
For #2 try using the Call answer block, e.g. a flow like:
  1. Flow beginning
  2. Call incoming
  3. Delay: 1s
  4. Call answer
  5. (connect #4 OK to #2 IN)
Message has been deleted

Shahab

unread,
Sep 29, 2024, 1:40:07 AM9/29/24
to Automate for Android
Thanks a lot Henrik!

it works to receive the calls automatically, but how do I turn on the internal speaker ? 
The person has hearing aids and as the screen goes black, wouldn't know how to turn it back on and then press the loudspeaker button.

Fritz Langer

unread,
Oct 23, 2024, 12:06:13 AM10/23/24
to Automate for Android
Hi,
this worked for me:

Use the interact block with
Action: click
Xpath expression: fn:reverse((.//*[@android:id='@com.android.dialer:id/incall_third_button'])[1]/ancestor-or-self::*)

after call incoming and delay.
I don't know if the id is the same on all versions of Android
if not you have to find it out e.g. with the
Inspect layout block

Hope it helps
Regards
Fritz
Reply all
Reply to author
Forward
0 new messages