What type of Scripts does Android Run?

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?

19 points · 9 comments · view on lemmy.world

9 Comments

statue7559@lemmy.sdf.org · 5 pts · 2y (1 reply)

You can do: monkey -p your.app.package.name -c android.intent.category.LAUNCHER 1

Maddison@sh.itjust.works · 4 pts · 2y

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?

WhoRoger@lemmy.world · 5 pts · 2y

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.

skullgiver@popplesburger.hilciferous.nl · 2 pts · 2y (1 reply)

[This comment has been deleted by an automated system]

Maddison@sh.itjust.works · 2 pts · 2y

hey, thank you very much for this

SatyrSack@lemmy.one · 2 pts · 2y (1 reply)

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

Maddison@sh.itjust.works · 1 pts · 2y

thank you!!

FrameXX@discuss.tchncs.de · 1 pts · 2y (1 reply)

Maddison@sh.itjust.works · 1 pts · 2y

thank you for this! I figured it out somehow