I have a Note 5 running Android 7.0. I use an app to get scheduled for work. Is there any app that could automate my scheduling in the app? Getting schedule is very hard if I do it manually by updating the screen manually for 30 minutes at least. I checked Automate and MacroDroid but could not find any actions that would control third party apps. If no app is available, is there examples of a Java code to see how controlling on Android works. I could modify the code for my use case. Thanks! Update button on bottom

  • You might want to explain where the schedule is coming from (csv file, different app), as automated 'manual' re-entry is only slightly better than physically typing. Also mention if you are using a cloud calendar provider (Google Calendar/Microsoft Outlook, etc.) – Morrison Chang Jun 20 '18 at 18:28
  • Hi. This is an app as you can see on the screenshot. When I click that 'update schedule' button, it shows hours with + sign. If there is no + sign, it means that hour is scheduled for someone else. It does not download any file nor uses calendar. It has only internet connection. The only way I can think of would be emitating my clicking of buttons with a script or code. – Said Akbar Jun 20 '18 at 20:58
  • You can look into AutoInput. lifehacker.com/… I have not tried it but read a lot that it can automate UI interaction. – Firelord Jun 20 '18 at 21:39
  • Automate has two Interact blocks for simulating touch actions within other apps. If the other app doesn't support automation, that the only way. – ballzak Jun 21 '18 at 1:33
  • Firelord and ballzak, thanks! That was the solution! – Said Akbar Jun 22 '18 at 6:19

By default regular Apps can't control other apps.

There are two exceptions:

  1. If the app is a system app (signed with the same cryptographic key that was used to sign the OS itself)
  2. An app can request access to the "accessibility services". Using this service an app can interact with other apps.

Note that Google is currently (mid 2018) restricting the accessibility service usage. Only apps that use it for legitimate purposes are allowed (helping disabled people to use an Android phone. As you can imagine controlling third party apps is not a legitimate purpose for Google's perspective.

| improve this answer | |
  • So, then, is there a possibility to create a script or code that would emulate touching the screen as if it was human input but automated? – Said Akbar Jun 20 '18 at 17:13
  • Tasker can do that – user218076 Jun 20 '18 at 23:26
  • Automate can do that, use the Interact blocks. – ballzak Jun 21 '18 at 1:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.