个人分享
于由
这个作者很懒,什么都没留下…
展开
-
studio中install_failed_dexopt 解决
今天用studio编译项目,一直报install_failed_dexopt错误,最后在stuido中,setting->build……->instant run中enable instant ……取消就好了原创 2016-03-02 16:28:28 · 1163 阅读 · 0 评论 -
华为手机中导航键显示与隐藏的监听
首先配置监听Context.registerContentObserver(Settings.System.getUriFor("navigationbar_is_min"), true, mNavigationStatusObserver);然后在监听结果中检测是否隐藏private ContentObserver mNavigationStatusObserver = new Cont原创 2016-03-03 11:08:03 · 5846 阅读 · 3 评论 -
华为可卸载系统app的判断方法
PackageInfo info = pm.getPackageInfo(packageName, 0);if((info != null) && (info.applicationInfo != null) && info.applicationInfo.publicSourceDir.contains("/system/delapp")){ //满足此条件就为华为系统内置的可卸载原创 2016-03-04 09:09:33 · 1431 阅读 · 0 评论