Questions tagged [scripts]

Scripts are small programs written for a command interpreter or another scripting language.

131 questions
6
votes
3 answers

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 there any way to do so?
Nirmik
  • 511
  • 4
  • 8
  • 21
3
votes
1 answer

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 libpython2.6.so Traceback (most recent call last): File…
Pitto
  • 1,784
  • 4
  • 18
  • 24
0
votes
0 answers

How to remount /system from host shell script?

I am trying to remount the /system partition from a shell, and tried both commands suggested in this post, but it does not work. Here are the script commands I am issuing: adb shell mount | grep -e "system" echo adb shell "su -c 'adb shell mount -o…
user3326293
  • 109
  • 1
  • 1
  • 4
-1
votes
2 answers

Executing a script

I'm new to Android and trying to find the simplest way to run a 2 line script that deletes files from a specific directory. I Googled the topic and created a file that I called test.sh which has 2 lines: #!/system/bin/sh delete…