how to delete folder from internal storage in android?
<p>how to delete folder(contain some folder and file) from internal storage. Folder have some below tree.</p>

<pre><code>folder
|_________  C2 (folder)
             |________1 (folder)
                      |________1.gif
                      |________2.gif
                      |________3.gif
                      |________4.gif
             |________2 (folder)
                      |________1.gif
                      |________2.gif
                      |________3.gif
                      |________4.gif
             |________3 (folder)
                      |________1.gif
                      |________2.gif
                      |________3.gif
                      |________4.gif
             |________4 (folder)
                      |________1.gif
                      |________2.gif
                      |________3.gif
                      |________4.gif
             |________5 (folder)
                      |________1.gif
                      |________2.gif
                      |________3.gif
                      |________4.gif

|_________  C2.xml (file)
</code></pre>

<p>i want to delete folder and containing all files </p>

<pre><code>        fil.delete();

    System.out.println("boolean =&gt;" + fil.delete());
</code></pre>

<p>but above code shows false so please help me if you have done this kind of job in past.</p>
