[android-developers] Android Shell
Hello All, I am using "logcat" to debug. I have noticed that the Android shell does not have the export PATH variable exporting the path to /system/bin where the logcat is located. Some times on the android shell when I do # set It shows the following # set HOME=/ IFS=' ' OPTIND=1 PATH=/sbin:/usr/sbin:/bin:/usr/bin PS1='# ' PS2='> ' PS4='+ ' PWD=/ SHELL=/bin/sh TERM=vt102 USER=root _= And some times it shows: # set ANDROID_ASSETS=/system/app ANDROID_BOOTLOGO=1 ANDROID_DATA=/data ANDROID_PROPERTY_WORKSPACE=9,32768 ANDROID_ROOT=/system BOOTCLASSPATH=/system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar EXTERNAL_STORAGE=/sdcard IFS=' ' LD_LIBRARY_PATH=/system/lib OPTIND=1 PATH=/sbin:/system/sbin:/system/bin:/system/xbin PS1='# ' PS2='> ' PS4='+ ' PWD=/system/bin _=/sys/class/power_supply/bq27000/capacity Any clues as to why this behaviour ? warm Regards, Raghu Warm Regards, Raghu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android Shell Scripting
Hi, We are developing a Ruby script to launch an Android emulator and then run some calabash tests on it. The ruby script just executes a bunch of shell commands: PID = fork do Signal.trap("HUP") { puts "PROCESS ENDED"; exit } exec "emulator -avd TestDevice1" end fork { sleep(55) exec "adb shell input keyevent 82" } fork { sleep(60) exec "calabash-android run ~/MyApp/MyApp.apk" Process.Kill("HUP", PID) } The problem we are facing is: Because the loading of the emulator takes some time, the Calabash tests may fail if the emulator is not in a usable state. We are currently using sleep with a hard coded value to get around this problem. This is not ideal. Is there shell command to verify whether the emulator is ready? Thanks Sumeet -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] android shell and adb
hi, can anyone please tell me how to enable shell prompt and adb in android when my android filesystem was not working i had a log message : [adb_function_enable] adb_function => (enabled) but now my android filesystem is working and i don't get any adb log messages pls tell where i can find the configuration for shell and adb and if it not enabled how to enable it. Thanks Manoj -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en