摘要: 1、获取应用程序下所有Activitypublic static ArrayList getActivities(Context ctx) { ArrayList result = new ArrayList(); Intent intent = new Intent(Intent.ACTION_MAIN, null); intent.setPackage(ctx.getPackageName()); for (ResolveInfo info : ctx.getPackageManager().queryIntentActivities(intent,... 阅读全文
posted @ 2013-07-29 13:49 还是你最好 阅读(1173) 评论(0) 推荐(0) 编辑