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

learn more… | top users | synonyms

2
votes
1answer
2k 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 ...
1
vote
1answer
20 views

Share text via HTTP request

I'd like to add an item in the system "Share" menu that sends links and other small text via HTTP POST requests. On my PC i'm using curl + a shellscript.
1
vote
1answer
121 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
1answer
123 views

How can I manage “desktop” icons

I want to remove all the icons on the desktop, (and also in the bottom bar) and place new ones via ADB. My script already removes all the apps, but icons/shortcuts remanin there! Is there any command ...
0
votes
1answer
44 views

Handeling android emulator via command line

I installed default android emualator in windows xp . Is there a way to launch android browser with a specific url open on it with help of command line . Basically I use emulator for testing my ...
3
votes
0answers
394 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 ...
1
vote
0answers
18 views

How to automate post install setup

I've noticed recently that i spend quite a bit of time setting up various settings after a clean ROM install. I was wondering how could i automate this post install hassle. Specificly im talking ...
0
votes
0answers
20 views

Automatically runs Dolphin Browser on boot up

I am new here. I have some android sticks. I use them to run a kiosk. That is some kind of newspaper on a big screen. I runs in the dolphin browser. I want that my clients just have to power on the ...
0
votes
0answers
43 views

How can I detect if a shell script is running on Android?

What is the most reliable way to detect if a script is running on Android (instead of a regular Linux build)? To run scripts, I'm using bash, the Terminal app, and BusyBox.
0
votes
0answers
115 views

Help with this ADB REVERSE Tethering Script?

I added the functionality to automatically turn on reverse tethering after many fails: Now i only enter t into terminal alias t='r && sz $tether && r && sz $n' tether='am ...
0
votes
0answers
90 views

sound alarm from terminal emulator

For my purposes, I want to create a simple bash script, that will notify me when appropriate conditions will meet. Is there a way to make a sound alert from Android Terminal Emulator? I'm running ...
0
votes
0answers
123 views

Android “Boot Logo Showing Time” Script

Did anyone know where's the "Boot Logo Showing Time" script location? i want to change the boot logo show up time, because my boot logo is only show up for a half-seconds (500ms) then disappear and ...
0
votes
0answers
27 views

Trigger sync of calendar/addressbook remotely

I would like to trigger the synchronization of calender and address book on the command line (using an adb command or a script). The background is that I have set up my own caldav and carddav server ...
0
votes
0answers
110 views

Learning Android command line

I've been googling it a lot but couldn't find anything substantial. I'm not familiar with Linux. Could you guys point me in the right direction? I want to do just about everything from android command ...
0
votes
0answers
193 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 ...