Problem with Runtime.getRuntime().exec()
<p>I have rooted my device, then in my application</p>

<pre><code>Process p = Runtime.getRuntime().exec("su");
</code></pre>

<p>and it work fine, my application will be root mode. Then I try add wlan address space, but it doesn't work, when I check out in terminal, following error message is shown</p>

<pre><code> busybox ifconfig there is not a new wlan address space. 
</code></pre>

<p>I try with following way:</p>

<pre><code>Process p = Runtime.getRuntime().exec("su");
p = Runtime.getRuntime().exec("busybox ifconfig wlan0 add xxxxxxxxxxxx");
p.waitfor();
</code></pre>

<p>When I run my application, the toast shows that the app is root mode but there is not added wlan0.</p>
