02 2017 档案
摘要:EditText 中输入价格判断
阅读全文
摘要:public static class Dimens { public static float dpToPx(Context context, float dp) { return dp * context.getResources().getDisplayMetrics().density; } public stat...
阅读全文
摘要:判断当前应用是否运行在后台 public static boolean isApplicationInBackground(Context context) { ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); Lis...
阅读全文
摘要:判断某个包名是否运行在顶层 public static Boolean isTopActivity(Context context, String packageName) { if (context == null || TextUtils.isEmpty(packageName)) { retu
阅读全文
摘要:安装APP filePath 安装包的路径 卸载APP packageName 包名
阅读全文
摘要:获取版本 获取Meta-Data
阅读全文
摘要:我直接写代码了 1先来几个常亮
阅读全文

浙公网安备 33010602011771号