title: Android delete files folder from Internal Storage not working
body: <p>I'm trying to delete my files folder from Internal Storage, but the code which I'm using is not actually working. Any ideas why?</p>
  
  <pre><code>Button login = (Button) findViewById(R.id.login_btn);
          login.setOnClickListener(new View.OnClickListener() {
  
              @Override
              public void onClick(View v) {
                  String name = "/data/data/"+context.getPackageName()+"/files/";
                  Log.e("","path : "+name);
                  File myDir = new File(name);
                  myDir.delete();
                  boolean iff = myDir.delete();
                  Log.e("","iff : "+iff);
              }
          });
  </code></pre>
  
  <p>The result which I get after button click : </p>
  
  <pre><code>11-17 13:09:58.869: E/(15952): path : /data/data/com.android.test/files/
  11-17 13:09:58.869: E/(15952): iff : false
  </code></pre>