09 2017 档案

摘要:步骤 1. 配置ndk路径 ,ndk location 2. 配置app下 build.gradle 3. 修改gradle.properties文件 4. 设置native接口 5. build项目,生成Ujni.class文件 6. 通过Ujni.class文件生成头文件 7. 编写c文件 将上 阅读全文
posted @ 2017-09-22 19:18 lyloou 阅读(433) 评论(0) 推荐(0)
摘要:| There are two ways to store this value. Little Endian.(低位优先) Big Endian.(高位优先) | The complete Client and Server interaction. | The simplest way to write a concurrent server under Unix is to f... 阅读全文
posted @ 2017-09-17 10:49 lyloou 阅读(543) 评论(0) 推荐(0)
摘要:【代码示例】 【计算方法】 通过设置 和`layout_height`来指定图片的大小为56(如果不够大,会压缩,如果太小,则会拉伸),接着根据想要的最终图片大小48来计算,(56 48) / 2 = 4dp 阅读全文
posted @ 2017-09-17 10:32 lyloou 阅读(9349) 评论(0) 推荐(0)