When I use a command like 'uptime' or 'pwd' or ['uptime'] or ['pwd'], it simply works.
If I use something like 'tar' I expect the normal output on how to use it, but I see nothing. No output at all.
Commands like 'ls -l' or ['ls -l'] or ['ls', '-l'] or 'mkdir -p /sdcard/tmp' or ['mkdir -p /sdcard/tmp'] or ['mkdir', '-p', '/sdcard/JT'] or ['sh', '-c', 'mkdir -p /sdcard/tmp'] simply don't work.
What is wrong or what I do wrong?
Edit: Even though it is a shell command doing "things" and not the apk itself, I also added the following 2 lines to my Androidmanifest.xml and recompiled, signed and zip-aligned.
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/><uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
Hi,
When I use a command like 'uptime' or 'pwd' or ['uptime'] or ['pwd'], it simply works. If I use something like 'tar' I expect the normal output on how to use it, but I see nothing. No output at all. Commands like 'ls -l' or ['ls -l'] or ['ls', '-l'] or 'mkdir -p /sdcard/tmp' or ['mkdir -p /sdcard/tmp'] or ['mkdir', '-p', '/sdcard/JT'] or ['sh', '-c', 'mkdir -p /sdcard/tmp'] simply don't work.
What is wrong or what I do wrong?
Edit: Even though it is a shell command doing "things" and not the apk itself, I also added the following 2 lines to my Androidmanifest.xml and recompiled, signed and zip-aligned.
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
This didn't help either.