退出应用的时候调用下面方法,就可以清楚数据了。
+ ActivityManager am = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE);
+ boolean res = am.clearApplicationUserData();+ Log.i("brower", "Couldnt clear application user data");
+ }
原文地址:http://blog.csdn.net/weijuantang/article/details/41379089