Jump to content

Recommended Posts

Posted

Hello all,

I have some experience with Autoit, but almost none for Android. I work for a healthcare organization and as part of their Covid response, we are attempting to check on patients remotely.

The idea here is that we would put android tablets in the rooms and use Cisco Jabber to call into the room. I would like to deliver an APK to the tablet that could detect an incoming call from Cisco Jabber, and then tap the answer button.

I realize this is probably not the appropriate use for this forum, so I apologize in advance. However, if someone would be willing to help with this code, we could save lives.

Thanks

  • Moderators
Posted

wisem2540,

Excellent use of the forum. I will post a link to this thread in GH&S

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted (edited)
  On 3/28/2020 at 2:52 PM, Melba23 said:

wisem2540,

Excellent use of the forum. I will post a link to this thread in GH&S

M23

Expand  

Thank you so much! 

Here is a snippet of part of my ADB log

 

I SurfaceFlinger: SolidColor | | 0000 | Unknown | 0.0 0.0 -1.0 -1.0 | 0 0 2048 1536 | com.cisco.im/com.cisco.jabber.telephony.call.CallIncomingActivity_dim#0

V WindowManager: Relayout Window{a548e2e u0 com.cisco.im/com.cisco.jabber.telephony.call.CallIncomingActivity}: viewVisibility=8 req=2048x1536 WM.LayoutParams{(0,0)(fillxfill) sim=#120 ty=1 fl=#81e90180 pfl=0x20000 fmt=-2 wanim=0x7f1200f6 vsysui=0x2600 needsMenuKey=2 colorMode=0 naviIconColor=0}

D InputEventReceiver: channel 'a548e2e com.cisco.im/com.cisco.jabber.telephony.call.CallIncomingActivity (client)' ~ Disposing input event receiver.

 

 

Edited by wisem2540
Posted (edited)

I don't have much experience automating Android, but i've used MacroDroid to automate some things on my personal phone. (It's free if you don't use more than 5 "macros") It's something to check out at least. It has some triggers (like notifications being created) that might be helpful. There is one called an intent that looks like it might be useful, but I don't know anything about it.

Edit: Page 54 of this document seems to indicate that you select particular groups to always answer :) Let me know if this works!

Edited by seadoggie01

All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

  Reveal hidden contents
Posted (edited)
  On 3/28/2020 at 3:21 PM, seadoggie01 said:

I don't have much experience automating Android, but i've used MacroDroid to automate some things on my personal phone. (It's free if you don't use more than 5 "macros") It's something to check out at least. It has some triggers (like notifications being created) that might be helpful. There is one called an intent that looks like it might be useful, but I don't know anything about it.

Edit: Page 54 of this document seems to indicate that you select particular groups to always answer :) Let me know if this works!

Expand  

Thanks.  That guide is for Cisco UCM.  Cisco Jabber is a business messaging client and doesn't support auto answer on Android natively.

Edited by wisem2540
Posted

Tasker is great for automating android, it also has a plugin called AutoInput by same developer Joaomgcd for clicking on things. Tasker costs 3.49 USD and AutoInput is free for limited use or pay to unlock is less than Tasker if i recall. you only need to purchase once to install on as many devices you want so long as the devices are signed into the same Google account. Tasker has a learning curve and is difficult to have someone do it for you unless they have access to the same app you are trying to automate, but for just a couple of functions you should be able to sort it out pretty quick.

the Tasker subreddit is the best place to find help.

If @error Then
    MsgBox(262192, "", @ComputerName & " slaps " & @UserName & " around a bit with a large trout!")
EndIf

"Yeah yeah yeah patience, how long will that take?"  -Ed Gruberman

REAL search results  |  SciTE4AutoIt3 Editor Full Version

  • Moderators
Posted

wisem2540,

Great news!

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...