上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 41 下一页
摘要: /* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma... 阅读全文
posted @ 2016-05-28 17:30 狂奔的小狮子 阅读(2460) 评论(0) 推荐(0) 编辑
摘要: 在Android开发中,大部分应用都是以用户为第一位,用户都有自己的个人中心,用来展示自己的信息,头像无疑是展示自己最直观的方式,随着各种政策的出台,实名认证,真人头像变得尤为重要,如果要求上传真人头像,那就需要后台做校验,判断是不是真人,如果真人审核,那工作量是非人力所能为的,这时候就用到各种识别 阅读全文
posted @ 2016-05-26 11:01 狂奔的小狮子 阅读(1343) 评论(0) 推荐(0) 编辑
摘要: BigDecimal bd = new BigDecimal(0.0199999999999); System.out.println("res:"+bd.setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue()); DecimalFormat df = new DecimalFormat("#.00"); ... 阅读全文
posted @ 2016-05-23 14:43 狂奔的小狮子 阅读(1119) 评论(0) 推荐(0) 编辑
摘要: /* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y... 阅读全文
posted @ 2016-05-19 14:07 狂奔的小狮子 阅读(421) 评论(0) 推荐(0) 编辑
摘要: public void showComplainDialog() { ComplainDialog complain_dialog = new ComplainDialog(OrderDetialActivity.this, R.style.customdialog_complain_style, R.layou... 阅读全文
posted @ 2016-05-09 18:05 狂奔的小狮子 阅读(1982) 评论(0) 推荐(0) 编辑
摘要: Ovals, mathematically, are ellipses, including circles as a special case. The ellipse is fit into a rectangle defined by the coordinates (x0, y0) of t 阅读全文
posted @ 2016-05-08 22:39 狂奔的小狮子 阅读(6247) 评论(0) 推荐(1) 编辑
摘要: ButterKnife,这个方便findViewById而使用的库,无数的应用在使用它,以注解来实现的他,对应用的性能影响几乎可以忽略,可以放心使用。 使用: 我们常用的无非就是: 其实他的功能远不仅仅如此,常用的还有下面点是你需要知道的。 1.对多个view的点击事件监听: 2.长按以及选中Ite 阅读全文
posted @ 2016-04-27 09:53 狂奔的小狮子 阅读(837) 评论(0) 推荐(0) 编辑
摘要: 代码如下: From:http://hannesdorfmann.com/android/adapter-delegates 阅读全文
posted @ 2016-04-24 16:53 狂奔的小狮子 阅读(1492) 评论(0) 推荐(0) 编辑
摘要: PNG: 便携式网络图形(Portable Network Graphics,PNG)是一种无损压缩的位图图形格式,支持索引、灰度、RGB三种颜色方案以及Alpha通道等特性。PNG的开发目标是改善并替换GIF作为适合网络传输的格式而不需专利许可,所以被广泛应用于互联网及其他方面上。 PNG另一个非 阅读全文
posted @ 2016-04-24 16:33 狂奔的小狮子 阅读(327) 评论(0) 推荐(0) 编辑
摘要: /** * 安装APK文件 */ private void installApk() { File apkfile = new File(mSavePath,Constant.appFileName); if (!apkfile.exists()) { return; } // 通过Intent安装 阅读全文
posted @ 2016-04-19 12:36 狂奔的小狮子 阅读(176) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 41 下一页