1. Are you ready for the Galaxy S20? Here is everything we know so far!

Performing Tasks in 3rd Party App

Discussion in 'Android Apps & Games' started by Gerald Schranz, Mar 16, 2016.

  1. Gerald Schranz

    Thread Starter

    Hello Folks!

    I'm already used to tasker and use it in simpler ways as shown in some examples and stuff.

    Now i'm wondering if it is able to perform tasks inside 3rd Party Apps in general?

    My idea would be to buy a mobile ticket via the app of the public transport company.
    So is tasker able to open an app -> klick here -> and then there and so on?

    thanks for answers
     


  2. sumotori

    sumotori Member

    Hello Gerald and welcome to the forums. :)

    Yes it is very much possible.
    For the "click here" part you have two options.

    The first is if you have a rooted phone, then you can use the input command in a shell.
    It would be like: input tap X Y or input swipe X1 Y1 X2 Y2 and so on.
    You can find a guide for this here
    To find the co-ordinates needed, you need to enable developer options: Settings > About phone > And tap Build number 7 times.
    Then go back to Settings, on the very bottom you will see Developer Options, go in and find Show Touches/Show Pointer Location or similar.


    If you are not rooted and you don't want to be, then you can use the AutoInput plugin which you can find in Google Play.
    It has a 7-day trial for you to test. It has many more features, such as UI query etc to find elements.

    For the rest part, you need to use tasker to open the app, or test when the app is opened etc.
     
    #2 sumotori, Mar 16, 2016
    Last edited: Mar 16, 2016
  3. I have not investigated that plug-in. It has un-rooted capabilities and root-ed only capabilities. Have you actually responded to a dialog using it on an un-root-ed device? Could you post a simple example?

    Thanks.

    ... Thom
     
  4. sumotori

    sumotori Member

    I haven't played around with the plugin much either.
    Indeed it does have additional capabilities for rooted devices, but the "tap" function is available for non-rooted device.
    I also think the same goes for the UI query functionality, i.e. that it doesn't need root.

    But the OP doesn't specifically mention response to a dialogue.
     
  5. I got the plug-in. I was very happy to see that it supported the Back action in addition to the Home action. It was a very nice solution.

    My problem is that where I wanted to use it was in a Tasker Project that was Exported into an app and then used on a machine that had no Tasker installed.

    This app running on the machine that had Tasker ... the plug-in worked flawlessly. It also worked when executed inside Tasker.

    On the foreign machine the app put up a notice that it needed the plug-in and did I want to download/install it?

    So ... bottom line is that the plug-in has to exist on the machine the Tasker action is calling it. This makes it very useful for some people but not me.

    ... Thom
     
  6. sumotori

    sumotori Member

    I'm glad to hear you are liking it. I've been wanting to get it for a while, but I stop myself for the very exact reason you mentioned. I like to have my apps working out-of-the box or with free plug-ins that a user can install.

    But to my knowledge, this is the case for all the plug-ins that are used with Tasker.
    When you export an app that uses any additional plug-in, at the very bottom of the export options, right below the permissions needed, it has a part about the required plug-ins.
    There you can see what plugins your app is using and you can select whether you want the user to be notified of them being required (checkbox ticked) or not (checkbox empty).
     
  7. Yes. And if it is unchecked the action provided by the plug-in simply doesn't do anything when triggered.

    Unfortunate.

    ... Thom
     
    sumotori likes this.

Tasker

Tasker Forum

net.dinglisch.android.taskerm

⚙No repetitive tasks for you, let your Android device handle it!⚙
Total Automation, From Settings to SMS. Here are only some
of the things you could do with Tasker. Its real power is the flexibility to combine contexts and tasks however you wish: https://tasker.joaoapps.com/exampleuses.htmlAutomations
Make your phone a true smart
phone! Why remember to change the volume every day when you leave home when your phone can do it for you? Automate stuff based on the app you're in
, the time of day
, your location
, your Wi-Fi network
, Received SMS or Calls
, the currently playing song
and many other (130+) states and events! Check out how easy it is to create an automation: https://www.youtube.com/watch?v=s6EAbLW5WSkActions
350+ actions allow you to truly customize your phone like never before! Send SMS, create notifications, change almost any system setting like Wifi Tether, Dark Mode, Always On Display, change any volume, control Do Not Disturb, open apps, file manipulation, control music playback, get your location... you get the idea. If you can think of it, Tasker can probably do it for you! Note: root is NOT (I repeat NOT) required for majority of the functions.
However, a few of the actions (like the Airplane Mode action and the Mobile Data action on some devices) require root. Regarding those few actions that do require root, this is because of Android security policies that developers cannot work around. ☑ Other Triggers
Manually trigger your actions via launcher shortcuts, quick setting tiles, widgets, long-pressing volume buttons, media buttons (like the ones on your BT headsets or headphones), Bixby button, Navigation Bar, Notificaitons and more! ☑ Join - Remote Tasker
Adding Join (https://play.google.com/store/apps/details?id=com.joaomgcd.join) to the mix will even allow you to trigger tasks from another Android device or PC! ☑ Scenes
Design your own UI and use it to display any info you want or trigger any task! ☑ App Creation
Create your own standalone apps to share or sell with the Tasker App Factory (https://play.google.com/store/apps/details?id=net.dinglisch.android.appfactory)! ☑ Developer Friendly
A lot of 3rd party developers already allow you to perform actions in their apps and listen to their events/states through Tasker! Check out a list of plugins https://tasker.joaoapps.com/pluginlist.html. You can also call most of the Web APIs from Tasker with the powerful HTTP Auth and HTTP Request actions! Check out an example https://youtu.be/yAt2D1XmgUI. ☑ 7 day trial - one time payment to unlock
Get it here: https://tasker.joaoapps.com/download.htmlUseful Links
Starter Guides: https://tasker.joaoapps.com/guides.html Pre-made projects: https://forum.joaoapps.com/index.php?resources/ Official Support Forumhttps://groups.google.com/forum/#!forum/tasker Community full of people willing to help: https://www.reddit.com/r/tasker/ It's not possible to fix problems reported via Play Store Comments so please use the "Report Issue To Developer" option in the app > Menu to do so. Note
: Tasker uses the BIND_DEVICE_ADMIN permission in order to provide the System Lock functionality

READ MORE
February 15, 2020
Last Updated
4.4
Rating
1M+
Installs
Loading...
Similar Threads - Performing Tasks 3rd
  1. chethan1703
    Replies:
    0
    Views:
    497
  2. dan55
    Replies:
    8
    Views:
    407
  3. RioLeal
    Replies:
    0
    Views:
    368
  4. kumaranil13k
    Replies:
    2
    Views:
    376
  5. androidDev123
    Replies:
    3
    Views:
    587
  6. Matt Lumpkins
    Replies:
    9
    Views:
    1,148
  7. jameslee0071992
    Replies:
    1
    Views:
    523
  8. 1337Rooster
    Replies:
    2
    Views:
    382
  9. Big Boar
    Replies:
    0
    Views:
    400
  10. Dragoslavtheconqueror
    Replies:
    4
    Views:
    1,961

Share This Page

Loading...