public static Boolean deleteAppFiles(){
  Boolean res=false;
  File f=getAppFolder();
  if (f.exists() && f.isDirectory()) {
    File[] files=f.listFiles();
    for (    File file : files) {
      file.delete();
    }
    if (f.listFiles().length == 0) {
      res=true;
    }
  }
  return res;
}

public static Boolean deleteAppFiles ( ) { Boolean res = false ; File f = getAppFolder ( ) ; if ( f . exists ( ) && f . isDirectory ( ) ) { File [ ] files = f . listFiles ( ) ; for ( File file : files ) { file . delete ( ) ; } if ( f . listFiles ( ) . length == 0 ) { res = true ; } } return res ; }
delete all the extracted apks
