ls -i rsync
Yes the line returned is:
----rwxr-x system sdcard_rw 308024 2013-01-02 23:04 rsync
but chmod wont change it because user permissions, in terminal i could probably change it through ADB but that wont be possible for each phone this will used on.
Thanks thedesolatesoul for you efforts. the other option i have is to send the sh to a app like terminal and use it as a initial command.
Try
Dim isy As Intent
Dim new As PackageManager
' application must declare jackpal.androidterm.permission.RUN_SCRIPT In manifest
isy.Initialize(isy.ACTION_MAIN, "")
isy = new.GetApplicationIntent("jackpal.androidterm.RUN_SCRIPT")
isy.putExtra("jackpal.androidterm.iInitialCommand","/mnt/sdcard/config.sh")
If isy.IsInitialized Then
StartActivity(isy)
End If
Catch
ToastMessageShow ("Failed to launch app! Is it installed?", True)
Log(isy)
End Try
but i get Failed to launch app! Is it installed because B4A doesnt like
RUN_SCRIPT at the end of androidterm. if i take it off the other app loads. :sign0148: p.s i also declared it in the manifest.