The scripts tag has no wiki summary.
11
votes
2answers
27k views
How can I run a script on boot?
I'm accustomed to running scripts on boot in Linux, but I'm not sure how to do this in Android. I'd like to start my SSH daemon on start, so I'll always be able to connect. How can I run an arbitrary ...
8
votes
1answer
1k views
Start an Android application via a shell script?
Is it possible to start an actual Android application from the command line in Android? For example, say I'd simply like to start/bring to the front my calendar. Is there a way that I can do this ...
6
votes
2answers
769 views
On Android can I write scripts (similar to Win .bat files) to combine several command line commands?
On Windows, I can run two commands using a .bat file.
How can I achieve the same thing on Android
For example:
update my podcasts by calling pcastclient /updateALL
force sync of my pictures ...
3
votes
1answer
317 views
Can't run any Python script on my Android phone
I have an Acer Liquid Metal, Gingerbread...
I've tried installing Python on Android (and s4la: http://code.google.com/p/android-scripting/) but when I run the hello world script I get:
dlopen ...
3
votes
3answers
584 views
Shell script to kill custom apps, run another app then restart killed apps?
Is it possible to make a shell script that would run using Smanager, for example, to do the following:
Kill a list of custom apps loaded from a file
Run one custom app loaded from the same file
When ...
2
votes
2answers
510 views
Is there no way to get scripts to run in Android?
Since Android is Linux at its base, I logically think it should be possible to run a script on Android, like a Python script or PHP script (with executable bit obviously).
If not conventionally, is ...
2
votes
0answers
700 views
How can I successfully run this script on a emulated terminal on Android?
Background
I am trying to install Ubuntu onto my Acer Iconia A500 using VNC and this application called Complete Linux Installer. My tablet is rooted and I have found several sources saying they have ...
2
votes
0answers
104 views
Is there an application that allows fine tuning of what ringtone to play on Android? [closed]
I'm not very satisfied with phonebook's ringtone assignment: they disappear sporadically and sometimes fail to play (default ringtone is played instead).
Ideally I want an application that do this:
...
1
vote
2answers
272 views
How can I execute a script on the SD card and be able to pass arguments to it?
I tried executing a script on the sdcard as is because on FAT, everything is 777.
./.profile
./.profile: permission denied
I added this as the initial command for the Android shell and it executes ...
1
vote
0answers
312 views
init.d doesn't get executed
i am using samsung s2 and a custom rom, external sd card is mounted to /emmc but i want it to mount to /mnt/sdcard/external_sd, how could i mount it using init.d?
i made a file called "99mount" with ...
0
votes
1answer
193 views
Where are binaries installed?
I just recently rooted my phone so I could install SL4A. I want to execute some commands via a Python script, specifically turn Google voice off for all calls, make the call and then turn it back on. ...
0
votes
0answers
53 views
How can I fix phone corruption when using USB mass storage mode?
It used to happen in stock ICS and remains in CyanogenMod 9. Whenever I connect my phone to computer through USB using mass storage mode (MSC), my phone gets crazy. In ICS, I remember it used to mess ...
0
votes
1answer
50 views
Home screen icon for terminal program?
I'm using terminal-ide http://code.google.com/p/terminal-ide/ which is basically a terminal for android with all sorts of utilities. One is able to create bash scripts for example. Is there a way to ...
0
votes
0answers
18 views
delete packages of domain
THere is a command to ease the pain of managing packages for Android phone,
adb shell pm uninstall org.kde.necessitas.example.one
But I have many phones and just want to delete all packages from a ...
0
votes
0answers
19 views
Scripting Android [duplicate]
Possible Duplicate:
Is there no way to get scripts to run in Android?
There were similar questions like this one here
Is there no way to get scripts to run in Android?.
Most of them were ...
0
votes
2answers
401 views
How do I script my phone?
What I mostly want to do, is quickly alter settings, add alarms etc.
It is perhaps called something else?
This is from a Windows PC.
Language is not important, but I know Python and UNIX scripting.
...
0
votes
2answers
1k views
How to create an update.zip file that can copy & rename a file?
Here's exactly what I'm looking for - I need an 'update.zip' file that can copy a file (example):
/system/framework/file-to-copy.apk
to another folder:
/system/
and then it would rename the ...