[APP] LocaleExecute plug-in

elmicha

Senior Member
Aug 14, 2005
134
9
0
Bonn
Hi,

the LocaleExecute plug-in lets you start Linux commands from Locale. I wrote it to start QuickSSHd automatically when I reach home. It can also show user-defined Toast messages and it can start commands as root (provided your phone is rooted and "su" is in the PATH).

This is my first Android app, so please tell me if I made some mistakes. The plug-in is based on the Locale Toast Setting demo plug-in. The icons were made by Everaldo Coelho and YellowIcon, found here.
 

Attachments

  • Like
Reactions: alfredxyz

Aztriltus

Senior Member
May 5, 2010
247
32
0
Hey elmicha,
How do I find for this command: /data/data/com.teslacoilsw.quicksshd/dropbear/quicksshd_helper START
for the other applications?
Such as if I want to toggle the 2G settings in my rooted N1 froyo stock?
Or start the activity of a Task killer that kills all apps except the ignored apps?
Is there a way to find these locations/commands automatically?
I have Locale and I'm very interested in your app. It opens up a lot of possibility if the above questions could be answered and solved with your plug-in.
 

elmicha

Senior Member
Aug 14, 2005
134
9
0
Bonn
The "quicksshd_helper START" command has been proposed and implemented by the author of QuickSSHd. There is no standard way of executing a Linux command to do something in Android apps.

I don't know how to toggle 2G/3G with a Linux command. Every 2G/3G toggle widget only takes you to the settings screen, so it doesn't seem to be easy (or perhaps not possible at all).

To kill tasks you could try the Locale AutoKill Plug-in or use Tasker, which can kill tasks with a built-in function.
 

Aztriltus

Senior Member
May 5, 2010
247
32
0
Oh, so unless I can contact the developer to give me the command, I can't do it alone?
I've tried tasker, and it can only kill 1 app at a time. I've used autokill plug-in but I just wanted to see if a real task killer could do the job instead. And the toggling of 2G/3G is only for phones with CM roms.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone