
安卓源码
柴月和岐月
兴趣使然的程序猿
展开
-
安卓里px、dip(dp)、sp、pt、in、mm的意义,及相互转换
今天碰巧看见了这个函数,是将传进来的值根据不同选项转化为最底层的像素,然后传出。那么不妨来自己来探索下安卓里px、dip(dp)、sp、pt、in、mm到底是什么吧 public static float applyDimension(int unit, float value, DisplayMet...原创 2016-12-26 15:40:40 · 2122 阅读 · 0 评论 -
对安卓里CamcorderProfile类的学习
用法手机支持的最低分辨率:1.直接获取CamcorderProfile profile=CamcorderProfile.get(CamcorderProfile.QUALITY_LOW);2.按时间流逝,质量变化情况来CamcorderProfile profile=CamcorderProfile.get(CamcorderProfile.QUALITY_TIME_LAPSE_LOW原创 2016-12-22 17:23:48 · 10373 阅读 · 0 评论 -
IDEA下查看安卓源码踩坑:Decompiled.class file, bytecode version和Network shouldn't be accessed in EDT
因为要研究Https,所以想看源码里面有没有提示之类的,结果Ctrl点进去,发现没有详细源码、注释之类的。IDEA提示两个信息:1.Decompiled.class file, bytecode version 52.0 (Java 8)2.Download or refresh if you download一、Assertion failed :Network shouldn't...原创 2018-01-20 14:02:36 · 26761 阅读 · 5 评论