Would there be a way to implement this idea? Maybe from a script.. i dont know enuf myself.
Its just that my phone often speeds up after a reboot, and to have this happen every night while i sleep wud be cool
Look into Tasker, I can't remember if it offers this feature.
If not, get ASE (Android Scripting Environment) + Locale which I'm pretty sure will do what you need.
The script would literally be 1 line ("reboot"), as you check the option for it to run as root.
Search search search search searchy search search. (Terms: scheduled reboot dream.)
Related
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.
Good stuff man. Didn't test it yet but if it were on the market and cost a few bucks I'd throw down for it.
Thank you, d0ugie, for the encouraging words.
Now it's on the market: http://www.cyrket.com/p/android/de.elmicha.app.LocaleExecute/
The help page is available at http://elmicha.de/app/LocaleExecute/plugin-help.html. That page is also shown if you press the help button from the plug-in's menu.
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.
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.
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.
Hello, I've recently started using the Tasker app to try to get the hang of it, because i've heard it's pretty useful if it's used correctly.
I've posted on other forums and didn't quite get any useful advice.
Basically I want to be able to perform Freezing/Defrosting of certain apps like Titanium Backup does within a certain context of time like Tasker allows.
I just want app A and app B to be frozen from Time X - Y, then defrost at Time Z
If someone knows how to set this profile up on Tasker, please help me out, but I've been told by some that it's not possible.
So i'm posting this hoping maybe someone can develop an app like it? or clue me in on a solution?
Thanks.
Couple of sites I have extremely useful for Tasker are..
http://profileify.com
http://tasker.wikidot.com/profile-index
Both have premade profiles and walkthroughs on how to set them up.
If what you are looking for is not already there its usually not hard to find a similar profile and modify to your needs.
I've never tried it, but theoretically you could use the Locale Execute plugin (see here for examples of usage: http://tasker.wikidot.com/rootbasic) to do "pm disable" and "pm enable" commands at specified times (you can search XDA for more info on these commands).
Does anyone know of a program that I can install on my TF700, set up some scehdules, at which time certain programs should be launched?
Kinda like "Scheduled Tasks" on Windoze...
Tasker: https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
It's great, but has a steep learning curve. Once you get used to it a bit, you can do pretty much anything (on any Android).
MartyHulskemper said:
Tasker: https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
It's great, but has a steep learning curve. Once you get used to it a bit, you can do pretty much anything (on any Android).
Click to expand...
Click to collapse
Yes, I know Tasker (and have it), but as you say it has a steep learning curve. I have tried making a setup that executes a program every morning at at specific time, but haven't gotten it to work to my satisfaction.
I was hoping there was a simpler solution, ie. a simple program that allows me to start/kill a specific program at a specific time at specific weekdays (f.ex. Mon/Tue/Wed/Thu/Fri at 06:30, Sat at 09:00 and Sun at 10:00 to use it as an alarm clock).
It needs to be an external program that it launches for it to meet my needs...
HeartWare42 said:
Yes, I know Tasker (and have it), but as you say it has a steep learning curve. I have tried making a setup that executes a program every morning at at specific time, but haven't gotten it to work to my satisfaction.
I was hoping there was a simpler solution, ie. a simple program that allows me to start/kill a specific program at a specific time at specific weekdays (f.ex. Mon/Tue/Wed/Thu/Fri at 06:30, Sat at 09:00 and Sun at 10:00 to use it as an alarm clock).
It needs to be an external program that it launches for it to meet my needs...
Click to expand...
Click to collapse
Try AUTOMATEIT, it can be programed to trigger on actions, events, sensors or timer. For example:
1. first add rule - select time trigger
2. set the time you want to trigger
3. action - set "start application" or "kill application" action(what ever you want)
4. select your application you want to kill or launch.
5. optional to set deplay before launch or kill
Done. you could use this to disable wifi when the screen turn off etc... The pro version allowed you to do one trigger but do multiple actions, like when screen on turn on wifi and web browser etc...and vice versa.
NOTE: you need root to use this.
Thanks - I'll look at it...
Tasker can do what you want. Which bit are you struggling with?
Greetings,
I know it is bad practice because I read about it on the forums and ran a lot of Google research but I would like to kill an application automatically at a specific time, this is temporary though.
It is a work phone, so I am not allowed to root it.
Would there be a way, without the phone rooted, to use Tasker or a way to ask a script to use the Task Manager of Android to "Exit" an application?
Is there another way to do that as well?
I tried to use Tasker to kill the application, but whenever I try to launch it after it has been closed, the telephone displays a black screen and I have to reboot it.
I tried to use the Terminal Emulator as well and the kill function but it says "Operation not permitted".
Thanks a lot to all for your time and help.
Ryu Hayabusa said:
Greetings,
I know it is bad practice because I read about it on the forums and ran a lot of Google research but I would like to kill an application automatically at a specific time, this is temporary though.
It is a work phone, so I am not allowed to root it.
Would there be a way, without the phone rooted, to use Tasker or a way to ask a script to use the Task Manager of Android to "Exit" an application?
Is there another way to do that as well?
I tried to use Tasker to kill the application, but whenever I try to launch it after it has been closed, the telephone displays a black screen and I have to reboot it.
I tried to use the Terminal Emulator as well and the kill function but it says "Operation not permitted".
Thanks a lot to all for your time and help.
Click to expand...
Click to collapse
try some task killers with autokill like advanced task killer
and the emulator thing didnt work cause you havent root access
Just realized this is probably not going to work completely as my biggest issue was vibrate mode not being set properly...
Will work on solutions tomorrow
This is going to be a very rough draft of what I got here.
Long story short, Silent mode doesn't work on Lollipop and beyond, Thanks Google
Therefore Llama is borked.
Simple fix will try to make better later (I am no programmer for sure), for now this is my simple solution.
I know this doesn't allow you to quickly change phone to silent but it does allow you to at least let Llama do it for you.
Also I've only tested this on Lollipop, Time willing I'm going to attempt to get this working on Marshmallow tomorrow or later this week.
3 simple apps made in Tasker that implement the new Do Not Disturb Mode, that can be run in Llama.
To get working:
1. Install desired Apps
2. Grant Notification Access
3. Add a new action to llama
4. Select Run Application
5. Select 1 of the 3 attached apps depending on what you want to happen.
Will post pics later but I think it's pretty self explanatory if you use Llama
Future plans:
1 app where you can call the activities of the app instead of running an actual app.
A button that opens Notification access so you can enable the app.
GTDarthYoda said:
Just realized this is probably not going to work completely as my biggest issue was vibrate mode not being set properly...
Will work on solutions tomorrow
This is going to be a very rough draft of what I got here.
Long story short, Silent mode doesn't work on Lollipop and beyond, Thanks Google
Therefore Llama is borked.
Simple fix will try to make better later (I am no programmer for sure), for now this is my simple solution.
I know this doesn't allow you to quickly change phone to silent but it does allow you to at least let Llama do it for you.
Also I've only tested this on Lollipop, Time willing I'm going to attempt to get this working on Marshmallow tomorrow or later this week.
3 simple apps made in Tasker that implement the new Do Not Disturb Mode, that can be run in Llama.
To get working:
1. Install desired Apps
2. Grant Notification Access
3. Add a new action to llama
4. Select Run Application
5. Select 1 of the 3 attached apps depending on what you want to happen.
Will post pics later but I think it's pretty self explanatory if you use Llama
Future plans:
1 app where you can call the activities of the app instead of running an actual app.
A button that opens Notification access so you can enable the app.
Click to expand...
Click to collapse
This is working for me on stock LG lollipop 5.1.1. I will test and see if I notice any excess battery drain due to the notification listener service. Thanks for helping fix Google's mess up.
If you want I can play around with this some more but I finally gave up on Llama
Llama is dead Hasn't been updated 11/21/2014 So I've switched over to Tasker utilizing wifi
I'm thinking of trying to figure out how to make my own app that can possibly launch tasker tasks but using a similar cell tower scanning/saving system as llama but right now I don't have the time or know how.
Ok I've played and I think I figured it out!
If you select run app shortcut in lama, you can run tasker tasks from there!
I might be bringing llama back!
GTDarthYoda said:
Ok I've played and I think I figured it out!
If you select run app shortcut in lama, you can run tasker tasks from there!
I might be bringing llama back!
Click to expand...
Click to collapse
I've been thinking if switching to tasker but have been using llama for years and everything is see up. I know you can run intents and locale plugins. Don't know if there is a way to use those features. So far your apks are work well for me. I think I have everything set up right. Thanks again.
I know what you mean
GTDarthYoda said:
I might be bringing llama back!
Click to expand...
Click to collapse
Hey man, please bring Llama back. This is the best profile app i've ever seen: fast to set, easy to config, no-battery draining and very useful.
:fingers-crossed::fingers-crossed::fingers-crossed:
Edinho376 said:
Hey man, please bring Llama back. This is the best profile app i've ever seen: fast to set, easy to config, no-battery draining and very useful.
:fingers-crossed::fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
I am using llama again. But I'm using it with tasker and a tasker plug in.
If you want i can write up my setup for ya?
You will need autonotification, tasker and llama but it works 99% of the time wwithouta hitch
GTDarthYoda said:
I am using llama again. But I'm using it with tasker and a tasker plug in.
If you want i can write up my setup for ya?
Click to expand...
Click to collapse
Hey dude, thanks for yours good will, but i wrote that hoping that somebody would continue the development for this app or similar for the whole community. Unfortunately i don't have skills to do this, but just looking how many times Llama was downloaded from Google Play you can see this is an incredible app everybody likes. It is useful and easy to setup... I am very sad since it don't work properly in newer android versions. :crying: Already sent e-mails to Kebab Apps but no answer, this is a great lose for everybody since this app was unique.
So far I've only installed Android studio
I've written alot in Java but never touched Android code. We'll see if I can figure it out. Don't have alot of spare time on my hands so we'll see what I can do.