Wednesday, October 22, 2014

Android Free YouTube Video and MP3 Downloader App

Android Free YouTube Video and MP3 Downloader App

Download this apk and install.
#Download high quality videos from Youtube
#Download Mp3 from Youtube videos

DownLoad APK HERE 



Search the videos  from our server and download


Direct download from youtube . search the video and click download button

Download videos in different format

Friday, October 17, 2014

Tuesday, October 7, 2014

Android : Clear Application data and cache programmatically

Android : Clear Application data and cache programmatically

This post about how to clear application data programmatically and cache.

public void clearApplicationData() {
        File cache = getCacheDir();
        File appDir = new File(cache.getParent());
        if (appDir.exists()) {
            String[] children = appDir.list();
            for (String s : children) {
                if (!s.equals("lib")) {
                    deleteDir(new File(appDir, s));
               
                }
            }
        }
    }
public static boolean deleteDir(File dir) {
        if (dir != null && dir.isDirectory()) {
            String[] children = dir.list();
            for (int i = 0; i < children.length; i++) {
                boolean success = deleteDir(new File(dir, children[i]));
                if (!success) {
                    return false;
                }
            }
        }

        return dir.delete();
    }

 

Check out this may be help you

Related Posts Plugin for WordPress, Blogger...