I am using an FOSS app called Automation Git repo, it doesn’t allow me to directly open Android Apps except if I use scripts. I don’t know what scripts it’s talking about, but I am trying to learn. Just like there are bash shell scripts, are there android scripts or something of the sort?

Also, Is it possible to open an Android Application (KDE Connect) using Termux cli on Android? I don’t want to do pkg install kdeconnect I think it works. But, is it possible to run applications such as kde connect android, syncthing android using termux?

  • WhoRoger@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Automation can run apps, you just need to specify an activity too. Usually it’s the Main activity if you just want to run the app normally.

    • MaddisonOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      I am trying to run KDE Connect

      Where should I run this from? Termux?

      Also, do I have to use a shebang line like we do for linux

      #!/bin/bash
      

      for bash, do I need anything like that here?

  • SatyrSack@lemmy.one
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Automation can open an app without the need for scripts. Add action > Start another program > Select app > KDE Connect > Find automatically

    EDIT: Running this from Termux will launch KDE Connect:

    am start --user 0 -n org.kde.kdeconnect_tp/org.kde.kdeconnect.UserInterface.MainActivity

    • MaddisonOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      thank you for this! I figured it out somehow