wisem2540 Posted March 28, 2020 Share Posted March 28, 2020 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 Skysnake and czardas 2 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 28, 2020 Moderators Share Posted March 28, 2020 wisem2540, Excellent use of the forum. I will post a link to this thread in GH&S M23 czardas and Skysnake 2 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: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
wisem2540 Posted March 28, 2020 Author Share Posted March 28, 2020 (edited) 18 minutes ago, Melba23 said: wisem2540, Excellent use of the forum. I will post a link to this thread in GH&S M23 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 March 28, 2020 by wisem2540 Link to comment Share on other sites More sharing options...
seadoggie01 Posted March 28, 2020 Share Posted March 28, 2020 (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 March 28, 2020 by seadoggie01 All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types Link to comment Share on other sites More sharing options...
wisem2540 Posted March 28, 2020 Author Share Posted March 28, 2020 (edited) 20 minutes ago, 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! Thanks. That guide is for Cisco UCM. Cisco Jabber is a business messaging client and doesn't support auto answer on Android natively. Edited March 28, 2020 by wisem2540 Link to comment Share on other sites More sharing options...
alienclone Posted March 28, 2020 Share Posted March 28, 2020 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 Link to comment Share on other sites More sharing options...
wisem2540 Posted March 29, 2020 Author Share Posted March 29, 2020 Update on this. In record time, Cisco released a custom version of the client for us that will auto-answer every call. Thanks - this can be closed. Stay safe everyone seadoggie01 and czardas 2 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 29, 2020 Moderators Share Posted March 29, 2020 wisem2540, Great news! M23 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: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now