I would like to know how to execute a system command from an android application?
For example :
I would like to create a directory while I am running an application, so i need to execute the command “mkdir -p /x/y”.
Please guide me with valuable pointers.
Thanks,
Sen
TO create a directory(for example on sd-card) you should use the other way:
To write to external storage you should have the following permission in your manifest:
To execute a system command usually used
Runtime.getRuntime().exec("ls -l");