- 博客(354)
- 资源 (6)
- 收藏
- 关注
原创 把Android源码导入Android Studio进行调试
Android Studio 调试 Android Framework 层代码参考参考https://zhuanlan.zhihu.com/p/295363172http://gityuan.com/2016/08/13/android-os-env/
2021-11-19 14:17:17
1729
原创 CoordinatorLayou
沉浸式管理:让你的 APP 更优雅 https://juejin.im/entry/591ec14a570c3500698e848eAndroid design包中CoordinatorLayout的设计原理 https://www.jianshu.com/p/6d5b2114d808Material Design (四),AppBarLayout的使用 https://blog.csdn....
2018-05-31 09:04:26
951
原创 android scrollview 相关
玩转Android嵌套滚动 http://blog.cgsdream.org/2016/12/30/android-nesting-scroll/ScrollView 嵌套 RecyclerVeiw, 轻松解决滑动冲突 https://www.jianshu.com/p/a4484468d334estedScrolling的使用及ScrollView的惯性滑动 http://renyuan-...
2018-05-30 19:06:50
351
原创 Android输入法遮挡问题的解决思路
Android输入法遮挡问题的解决思路 https://www.jianshu.com/p/50c060edeaa8Android爬坑之旅:软键盘挡住输入框问题的终极解决方案 https://www.jianshu.com/p/306482e17080解决方案收集 : https://www.jianshu.com/p/43ab5da967c1Android – 设置透明状态栏后弹出键盘...
2018-05-20 19:41:25
2646
转载 Android中的NestedScrollingParent和NestedScrollingChild分析
参考:https://blog.youkuaiyun.com/x87648510/article/details/51882040
2018-05-19 09:53:37
902
转载 View到达顶部及底部边界判断
/** * 判断View是否滑动到顶部 * @param view * @return */ public static boolean isViewReachTopEdge(View view) { if (view instanceof ViewGroup) { if (view.ca...
2018-05-16 20:24:57
599
转载 View到达顶部及底部边界判断
https://blog.youkuaiyun.com/xuxingxing002/article/details/53331016/** * 判断View是否滑动到顶部 * @param view * @return */ public static boolean isViewReachTopEdge(View view) { ...
2018-05-06 09:59:20
623
原创 android全屏/沉浸式状态栏下,各种键盘挡住输入框解决办法
android全屏/沉浸式状态栏下,各种键盘挡住输入框解决办法 https://blog.youkuaiyun.com/smileiam/article/details/69055963https://github.com/wangkaikelvin/AndroidBug5497Workaround3.
2018-04-08 20:25:57
789
原创 android 滚动条ScrollBar
awakenScrollBars https://www.jianshu.com/p/133e880c4b9cAndroid必知必会-自定义Scrollbar样式 http://likfe.com/2016/05/16/diyScrollbar/RecyclerView 滚动条的显示与隐藏 https://my.oschina.net/yaly/blog/5090594. ...
2018-03-27 17:30:01
945
原创 WindowInsets fitsSystemWindows
WindowInsets 在View下的的分发 https://www.jianshu.com/p/756e94fa2e09https://blog.kyleduo.com/2017/05/02/digging-translucentstatusbar/https://blog.kyleduo.com/2017/05/03/digging-translucentstatusbar-2/ht...
2018-03-26 16:08:08
581
原创 从setContentView分析应用的视图结构
参考从源码角度剖析 setContentView() 背后的机制 https://juejin.im/post/58dcd12e61ff4b006b0519081 AppCompatDelegateImplV9.java public void setContentView(int resId) { ensureSubDecor(); ViewG...
2018-03-25 18:00:02
185
转载 使用FreeType实现矢量字体的粗体、斜体、描边、阴影效果
http://www.cppblog.com/mybios/archive/2009/08/01/91869.html使用FreeType实现矢量字体的粗体、斜体、描边、阴影效果前言:Freetype是一个跨平台、开源的字体渲染器,网上很多文章介绍,本人就不啰嗦了。本文重点在于实现文章标题所属的各种效果,不是Freetype的基本使用方法介绍文档,所以对于Freetype不熟悉的同学们请先学习下Fr
2017-12-21 17:59:06
3421
原创 android O 编译及运行
1 编译Android7.0+更改Java heap SizeAndroid7.0(也就是Android N)上默认使用JACK编译器,当内存较小的机器编译时可能会出现:Out of memory error (version 1.2-rc4 ‘Carnac’ (298900 f95d7bdecfceb327f9d201a1348397ed8a843843 by android-jack-team@
2017-12-15 16:05:05
905
原创 文章标题
http://windrunnerlihuan.com/2017/04/27/Android-SurfaceFlinger-%E5%AD%A6%E4%B9%A0%E4%B9%8B%E8%B7%AF-%E4%BA%8C-SurfaceFlinger%E6%A6%82%E8%BF%B0/ http://www.rosoo.net/a/201201/15581.html http://www.bozh
2017-11-26 22:56:54
401
原创 欢迎使用优快云-markdown编辑器
makefile LOCAL_STRIP_MODULELOCAL_STRIP_MODULE := false意思是把so的一些调试信息去掉,符号表啊什么的,这些是debug用的,,stip之后把这些东西去掉,可以让so变小,,通俗地讲就是一个debug版本,一个是release版本 6.0之后,系统里面强制要strip so库,,如果你的so已经strip过了,再次strip就会报错,所以需要在a
2017-11-25 14:25:11
384
原创 Android-new-build-system
Step 1. make/core/main.mkifndef KATIhost_prebuilts := linux-x86 ifeq ($(shell uname),Darwin) host_prebuilts := darwin-x86 endif .PHONY: run_soong_ui run_soong_ui: +@prebuilts/build-tools
2017-10-25 13:02:10
3333
1
转载 APK不用su的方式来获取ROOT权限
http://blog.youkuaiyun.com/superkris/article/details/7763452在android启动过程 里有讲过,startSystemServer启动了zygote,也就是app_main.cppframeworks/base/cmds/app_main.cpp里的主函数。但是在startSystemServer这个函数里有下
2014-11-05 09:15:19
1975
转载 POSIX 文件能力:分配根用户的能力
http://linux.chinaunix.net/docs/2007-12-04/4668.shtml
2014-11-04 20:53:02
632
转载 Android 4.1 Jelly Bean安全機制探討
http://loda.hala01.com/2012/08/android-4-1-jelly-bean%E5%AE%89%E5%85%A8%E6%A9%9F%E5%88%B6%E6%8E%A2%E8%A8%8E-2/
2014-11-04 09:55:31
2002
转载 Android 4.4特性说明(持续更新)
http://blog.youkuaiyun.com/innost/article/details/14164395+++++++++++++
2014-11-04 09:37:56
639
转载 自主访问控制dac与强制访问控制mac的原理是什么区别在哪里
转自: http://wenda.tianya.cn/question/23554898588dcb19
2014-11-03 19:22:33
17148
转载 访问控制模型DAC,MAC,RBAC
转自 : http://www.cnblogs.com/jirigala/archive/2009/05/10/1453511.html
2014-11-03 19:20:21
16952
1
转载 Discretionary Access Control vs Mandatory Access Control
转自 : https://sites.google.com/site/jimmyxu101/concepts/accesscontrol
2014-11-03 18:58:31
1415
转载 Taking Advantage of Linux Capabilities
转自 : http://www.linuxjournal.com/article/5737
2014-11-03 16:01:46
1002
转载 linux沙箱(sandbox)技术_百度文库
摘自: http://wenku.baidu.com/link?url=P-ieKlpPulaFTfc17_MYSOjTfOVRIDyiFA7TvFSm5hJA1Qdr08mBlNAiNTniywYx-s95OKKSmRyGKlv5NYUwldbmss1rhVFGRAaQI_bH6bu
2014-11-03 09:38:59
952
原创 filesystem capabilities support
1. Capability-based security http://en.wikipedia.org/wiki/Capability-based_security2.
2014-10-31 17:50:14
649
转载 Android内部机制(Book)--Android Internals - A Confectioner's CookBook
http://www.newandroidbook.com/index.php
2014-10-30 11:19:31
3056
原创 ADB 源码分析 adbd daemon
关于 adbd daemon: http://www.apkbus.com/blog-50331-54627.html
2014-10-28 16:52:02
4128
转载 Android4.3安全改进
摘自: http://www.cnblogs.com/jgjdev/p/3338621.html引入SELinux,但目前只使用Permissive模式(显然这是一个过渡期,先引入再完善)。 SELinux有三种模式: Enforing模式,应用SELinux所设定的Policy, 所有违反Policy的规则(Rules)都会被SELinux拒绝。 Permissive模式,
2014-10-28 13:50:29
916
转载 POSIX 文件能力:分配根用户的能力
摘自: http://www.ibm.com/developerworks/cn/linux/l-posixcap.html
2014-10-24 18:56:04
971
转载 android启动之SystemServer启动
转载 :http://blog.youkuaiyun.com/w2865673691/article/details/25961141
2014-10-24 14:05:56
445
转载 Android 上SuperUser获取ROOT权限原理解析
转载: http://www.mythroad.net/2013/02/26/android-%E4%B8%8Asuperuser%E8%8E%B7%E5%8F%96root%E6%9D%83%E9%99%90%E5%8E%9F%E7%90%86%E8%A7%A3%E6%9E%90/
2014-10-23 20:53:56
1351
转载 Android检查权限
转自 : http://blog.youkuaiyun.com/xiayu98020214/article/details/8487165#
2014-10-23 20:17:57
1612
原创 Android接口调用控制
2.Android接口调用控制,首先是root用户和system用户拥有所有的接口调用权限,然后对于其它用户使用Context以下这几个函数来实现 Context.checkCallingOrSelfPermission(String);Context.checkCallingOrSelfUriPermission(Uri,int);Context.c
2014-10-23 19:33:00
2684
转载 System Permissions
http://developer.android.com/guide/topics/security/permissions.html
2014-10-23 17:11:38
593
转载 Android Security user and groups
https://github.com/keesj/gomo/wiki/AndroidSecurityUserAndGroupsThe Android system does not have the conventional /etc/passwd storage for users and groups. It contains a fixed set of user and group
2014-10-23 15:21:03
852
转载 Android Security Overview
摘自: http://developer.android.com/guide/topics/security/permissions.html
2014-10-23 15:17:41
916
转载 what 's difference between android system user and linux root user
摘自: http://stackoverflow.com/questions/16933108/what-s-difference-between-android-system-user-and-linux-root-userQ: When I connect my phone to computer,then I use "adb shell" command to communicat
2014-10-23 15:08:24
825
jdk1.7 (copy).0_80_part2.tar.gz
2018-01-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人