Help Please.
When i try this
I get the error
(Intent) Intent { act=android.intent.action.CALL dat=file:///sdcard/user/config.sh typ=bin/sh flg=0x20000 }
Thanks for any help.
I tried Phone.Shell
and got this error
java.io.IOException: Error running exec(). Command: [config.sh, /sdcard/user/config.sh] Working Directory: null Environment: null
When i try this
B4X:
Sub manualstart_Click()
Dim i As Intent
i.Initialize(i.ACTION_CALL, "file:///sdcard/user/config.sh")
i.SetType("bin/sh")
Try
StartActivity(i)
Catch
ToastMessageShow("Cannot start file.", True)
Log(i)
End Try
End Sub
(Intent) Intent { act=android.intent.action.CALL dat=file:///sdcard/user/config.sh typ=bin/sh flg=0x20000 }
Thanks for any help.
I tried Phone.Shell
and got this error
java.io.IOException: Error running exec(). Command: [config.sh, /sdcard/user/config.sh] Working Directory: null Environment: null