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. I'm just guessing that I need access to whatever the binary is, but there doesn't seem to be a /bin/ folder, so where are my apps installed to? (p.s. Searching from my mobile browser doesn't work on SE so if this a duplicate, please link me and I'll go ahead and delete the question.)
Android apps aren't binaries. They're .apk's, similar to Java .jar files, and .dex or .odex files when in bytecode form. They're run in the Dalvik virtual machine, again very similar to a Java VM.
You can launch an app from a shell as follows:
am start -a android.intent.action.MAIN -n <package name>/<activity name>
For example, Angry Birds:
am start -a android.intent.action.MAIN -n com.rovio.angrybirds/com.rovio.ka3d.app
The name of the activity is found in the AndroidManifest.xml file inside the .apk under //manifest/application/activity/@name. For Google Voice there are quite a few activities, and you may need to use other intents. I don't have SL4A.
You can also disable apps temporarily with this:
pm disable <package name>
pm enable <package name>