摘要: ActivityManager sd = (ActivityManager) this.getSystemService(ACTIVITY_SERVICE);Method method = Class.forName("android.app.ActivityManager").getMethod("forceStopPackage", String.class);method.invoke(sd, "包名");在androidmainifest.xml中加入权限 1、manifest android:sharedUserId=&qu 阅读全文
posted @ 2013-08-19 09:24 94cool 阅读(3228) 评论(0) 推荐(0)