[android-developers] Re: executing a shell script from Android application

2010-02-03 Thread jotobjects
Two suggestions - Does /data/busybox/board_script.sh have the executable bit set? Maybe you need to exec (new String[]{"/system/bin/sh","/data/busybox/ board_script.sh"}) On Feb 2, 8:49 pm, Asif k wrote: > Hi hotobjects, > >   I am not using adb at all in my script. I know adb is used when u r

[android-developers] Re: executing a shell script from Android application

2010-02-02 Thread Asif k
Hi hotobjects, I am not using adb at all in my script. I know adb is used when u r working from host computer. My script is just like as follows, and even I am able to invoke that from the android shell through serial connection.. I want the same to be invoked by my application. script, --

[android-developers] Re: executing a shell script from Android application

2010-02-02 Thread jotobjects
My "guess" is that adb is a development tool and probably not present on the device or available on the emulator at runtime. On Feb 2, 5:35 am, Asif k wrote: > same script I kept in the ubuntu desktop file system and executed with > the normal java code and work nicely... with same APIs > > In th

[android-developers] Re: executing a shell script from Android application

2010-02-02 Thread Asif k
same script I kept in the ubuntu desktop file system and executed with the normal java code and work nicely... with same APIs In the android application with same APIs when executing same script by putting it in /data/busybox/board_script.sh it does not work and gives following log results..ev

[android-developers] Re: executing a shell script from Android application

2010-02-02 Thread Asif k
which permission?? Can you please elaborate on this? In the logcat, I am not getting much specific information. Thanks, Asif On Feb 2, 3:10 pm, android beginner wrote: > first thought that came to my mind is permission. ofcourse you can confirm > that with logcat. > > On Tue, Feb 2, 2010 at 6:58