标签:
First make sure you have the script launcher add-on, and of course SL4A itself. You’ll probably also want an interpreter (Python, Ruby, etc.) for SL4A installed.
The steps for creating a script task are:
Now you can run it using Quick Run, an alarm, etc.
To run it every 5 minutes you have to create a schedule:
Now you have a schedule that runs a script every 5 minutes from START to STOP (the time you start the schedule to the time you stop the schedule). For example to run it every 5 minutes between now and 2 hours from now:
Along the way you can try different scenarios without having to actually run them by using the “Calculate” function.
http://androidideas.org/taskbomb/tutorials/running-a-script-every-5-minutes/
标签:
原文地址:http://www.cnblogs.com/jvava/p/4281803.html