妙法莲华经

Results 77 issues of 妙法莲华经

1.1 手机常见分辨率: 4:3 | 1 | 2 | | --- | --: | | VGA: 640×480 (Video Graphics Array) | QVGA: 320×240 (Quarter VGA) | | HVGA: 480×320 (Half-size VGA)...

## SnakerBar [Android Snackbar花式使用指南](http://www.jianshu.com/p/cd1e80e64311) 我给放到这个 Gist: https://gist.github.com/jp1017/81ce65673a959e12b84156b1b3c0c35e Snackbar 基本使用: https://github.com/jp1017/Android-Collection/issues/5 ### Snackbar 封装: - https://github.com/AntonyGolovin/FluentSnackbar - https://github.com/rey5137/material/blob/master/material/src/main/java/com/rey/material/widget/SnackBar.java#L755

来源:http://www.wangchenlong.org/2016/05/18/tips/1605/181-android-tips-8/ 服务检测比较具有迷惑性, 不能直接通过类名检查, 一定要判断UID是否相同, 否则多个应用使用相同的服务, 会出现检查错误, 有一个启动就会成功. 添加UID检查, 才可以正确使用. 用于在重启动服务时, 进行服务保活, 防止重复启动. ``` /** * 判断服务是否启动, 注意只要名称相同, 会检测任何服务. * * @param context 上下文 * @param serviceClass 服务类 * @return 是否启动服务...

https://mp.weixin.qq.com/s?__biz=MzA4MjU5NTY0NA==&mid=2653418742&idx=1&sn=1efe7fa5c95cbf292b43ebba365813fc&scene=1&srcid=0518D8Cnamr2S2d4SPDTNcoJ#rd

- 隐藏 recent 键:https://github.com/android-cn/android-discuss/issues/394

[理解Android命名规范](http://blog.chengdazhi.com/index.php/185)

[详解Java中的对象克隆](http://www.jianshu.com/p/c31e01a5d55d) [探究Java中的克隆](http://droidyue.com/blog/2016/05/15/dive-into-java-clone/)

https://github.com/android-cn/android-discuss/issues/291

``` /** * 判断设备是否 root * @return the boolean */ public boolean isDeviceRooted() { String su = "su"; String[] locations = {"/sbin/", "/system/bin/", "/system/xbin/", "/system/sd/xbin/", "/system/bin/failsafe/", "/data/local/xbin/", "/data/local/bin/", "/data/local/"}; for...

来源: [你真的会用Android中Strings资源吗](http://www.jianshu.com/p/bf8c4b4c8049)