摘要: 最初的分析文档为word,该文档是直接从word文档发布,布局未做详细调整,凑合看吧。所用源码版本为最新的Android 4.4.2(API 19)。更新中…… ListView回收机制相关分析1 1.ListView结构关系12.RecycleBin类解析32.1 RecycleBin变量42.2...阅读全文
posted @ 2014-03-27 14:30 Qiengo 阅读(2840) 评论(1) 编辑
摘要: Label DecorationsMenu ActionsUser Guidehttp://wiki.eclipse.org/EGit/User_GuideLabel DecorationsLabel decorations show Git specific information on resources under Git version control. They appear in all views showing model objects, like Package Explorer, Project Explorer, Navigator, Hierarchy View.Th阅读全文
posted @ 2012-11-21 17:57 Qiengo 阅读(1814) 评论(0) 编辑
摘要: A customer asked that we check out his intranet site, which was used by the company's employees and customers. This was part of a larger security review, and though we'd not actually used SQL injection to penetrate a network before, we were pretty familiar with the general concepts. We were 阅读全文
posted @ 2012-11-19 12:16 Qiengo 阅读(83) 评论(1) 编辑
摘要: A:Static library文件Android.mk:LOCAL_PATH := $(call my-dir)include $(CLEAR_VARS)LOCAL_MODULE := hello-jniLOCAL_SRC_FILES := hello-jni.cinclude $(BUILD_S...阅读全文
posted @ 2012-10-23 14:27 Qiengo 阅读(3499) 评论(2) 编辑
摘要: Reprinted fromhttp://www.ibm.com/developerworks/cn/opensource/tutorials/os-androidndk/section5.htmlFirst ,we will useandroid/bitmap.h,so thelowest ver...阅读全文
posted @ 2012-07-18 18:11 Qiengo 阅读(2851) 评论(2) 编辑
摘要: Eclipse IDE for C/C++ Developers+CygwinEclipse Classic + Cygwin + CDTEclipse Classic + Cygwin + CDT + NDK ->Android so LibShow Chinese in CygwinA Project For TestSoftware Version: Cygwin 1.7.15-1 Eclipse IDE for C/C++ Developers(Juno) Eclipse Classic 4.2(Juno) CDT 8.1.0 for Eclipse Juno Androi...阅读全文
posted @ 2012-07-12 11:23 Qiengo 阅读(1221) 评论(0) 编辑
摘要: HttpGet-get and show data,the param will show in address url.(when the param is too long,use HttpPost is a wise choice.)HttpPost-save and update data,the param will be hided.HttpPut-add and create file/data on server HttpDelete-delete file/data on serverHttpPutPublic ConstructorspublicHttpPut()publi阅读全文
posted @ 2012-05-19 13:33 Qiengo 阅读(736) 评论(0) 编辑
正文内容加载中...
posted @ 2017-02-24 15:42 Qiengo 阅读(39) 评论(0) 编辑
摘要: [cpp] view plain copy WAVEFORMATEX waveform; //采集音频的格式,结构体 waveform.wFormatTag = WAVE_FORMAT_PCM;//声音格式为PCM waveform.nSamplesPerSec = 8000;//采样率,16000阅读全文
posted @ 2017-02-24 10:09 Qiengo 阅读(301) 评论(0) 编辑
摘要: 一般情况下,在Android系统中获取手机的方位信息在api中有TYPE_ORIENTATION常量,可以像得到加速度传感器那样得到方向传感器sm.getDefaultSensor(Sensor.TYPE_ORIENTATION);然而我们这样做的话在最新版的SDK中就会看到这么一句话:“TYPE_阅读全文
posted @ 2016-11-11 13:54 Qiengo 阅读(247) 评论(0) 编辑
摘要: 参考一:百度百科 参考二:INF文件的节 参考三:wikipedia 参考四:MSDN: INF File INF文件的节 INF文件是一个文本文件,由许多按层次结构排列的节组成,他们以方括号中的节名称开始,如[Version]、[Manufacturer]等,后面是改接所含有的各个项,如Signa阅读全文
posted @ 2016-10-24 12:38 Qiengo 阅读(1220) 评论(0) 编辑
摘要: find 1.格式 Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] default path is the current directory;阅读全文
posted @ 2016-10-13 10:16 Qiengo 阅读(74) 评论(0) 编辑
摘要: Raspberry Pi's latest kernels and firmware, including Raspbian and NOOBS releases, now by default use Device Tree (DT) to manage some resource allocat阅读全文
posted @ 2016-09-28 13:57 Qiengo 阅读(185) 评论(0) 编辑
摘要: Ubuntu中的许多操作在终端(Terminal)中十分的快捷,记住一些快捷键的操作更得心应手。在Ubuntu中打开终端的快捷键是Ctrl+Alt+T。其他的一些常用的快捷键如下: 另外一些小技巧包括:在终端窗口命令提示符下,连续按两次 Tab 键、或者连续按三次 Esc 键、或者按 Ctrl+I 阅读全文
posted @ 2016-09-28 09:47 Qiengo 阅读(90) 评论(0) 编辑
摘要: 1. ARM Device Tree起源 在过去的ARM Linux中,arch/arm/plat-xxx和arch/arm/mach-xxx中充斥着大量的垃圾代码,相当多数的代码只是在描述板级细节,而这些板级细节对于内核来讲,不过是垃圾,如板上的platform设备、resource、i2c_bo阅读全文
posted @ 2016-09-27 11:39 Qiengo 阅读(160) 评论(0) 编辑
摘要: 一 概述 Linux内核中gpio是最简单,最常用的资源(和 interrupt ,dma,timer一样)驱动程序,应用程序都能够通过相应的接口使用gpio,gpio使用0~MAX_INT之间的整数标识,不能使用负数,gpio与硬件体系密切相关的,不过linux有一个框架处理gpio,能够使用统一阅读全文
posted @ 2016-09-22 14:54 Qiengo 阅读(173) 评论(0) 编辑
摘要: Pin Control Subsystem是Linux内核抽象出的一套用于控制硬件引脚的一套子系统。 1、源文件列表 源码位于linux/drivers/pinctrl目录下,源文件列表如下: 在pin controller driver文档中 ,我们以2416的pin controller为例,描阅读全文
posted @ 2016-09-22 14:28 Qiengo 阅读(776) 评论(0) 编辑