随笔分类 -  android知识

Android cs
摘要:1.应用重启 final Intent intent = context.getPackageManager().getLaunchIntentForPackage(context.getPackageName()); intent.addFlags(Intent.FLAG_ACTIVITY_CLE 阅读全文
posted @ 2019-09-29 15:40 leill 阅读(191) 评论(0) 推荐(0)
android pendingIntent的理解
摘要:一、pendingIntent的字面意义:等待的,未决定的Intent。intent:意图,pending:即将发生或将要来临的事情。 1.pendingIntent对象,使用的静态方法: getActivity(Content ,int ,Intent,int)跳转到一个Activity组件。 g 阅读全文
posted @ 2019-07-26 15:44 leill 阅读(717) 评论(0) 推荐(0)