Delete cache data of another app using Android code
<pre><code>Process p1;
p1=Runtime.getRuntime().exec("rm -rf /sdcard/&lt;any folder&gt;");
</code></pre>

<p>This code works on sdcard, deleting the required folder, but not working on root directory</p>

<pre><code>p1=Runtime.getRuntime().exec("rm -rf /data/data/&lt;any folder&gt;");
</code></pre>

<p>This code is not working any suggestions?
i rooted my phone and got super user access.</p>
