David Dong

David Dong

Java/C/C#/Python

Java/C/C#/Python

  • posts

  • Read/Write system property in Android APP

    Recently I need to read system property in my Android app development. I checked the Android documents and found that Android has a Systemproperties class to handle this kind of requirement. However, Systemproperties class isn’t a public class of SDK, which means it is invisible to the app developer. My understanding is that Google wants this class to be used for Android source developers rather than application developers.

  • Getevent command usage

    Android provides an ADB command getevent to obtain input events, such as obtaining key reporting events, obtaining touch screen reporting events, etc.

  • Use of .PHONY in makefile

    You may have run into a situation where the name of the makefile command conflicts with the file name under the same directory.

  • How does Android dispatch Touchevent?

    Recently, I’ve been busy with my work and haven’t been able to update the blog for a long time. This time, I am going to start a discussion and summarize how Android dispatch Touchevent after received them from the touch screen device.

  • Android 如何上报 Touchevent 给应用层

    上一篇博文 「ATMEL maXTouch IC驱动代码分析」 我们讲到了 Touch 驱动代码如何读取IC内部获取到的触摸事件信息并通过input_report_abs()input_sync()函数上报给 Linux 的 Input 子系统的过程。今天这篇文章我们就走进 Input 子系统内部来看一下事件是如何被传递到 Android 的用户空间的。

  • ATMEL maXTouch IC 驱动代码分析

    今天来讲一下 touch controller IC 在 android 上的驱动代码。

  • Bundle 在 android 中的应用

    Android中Bundle类的作用,根据google 官方文档
    Bundle类用作携带数据,它类似于Map,用于存放key-value名值对形式的值。

  • 电容式触摸检测技术原理

    智能手机的兴起不仅仅是由于操作系统上的改变,更多的是由于引入了一种新的人机交互的模式。这种全新的模式导致了用户体验的大幅度改善。电容式触摸检测技术正是其中的关键技术。

  • Linux 系统下的多点触摸协议

    这篇文章讲一下Linux下的多点触控的协议。

  • Linux 添加中断处理

    Linux 中断子系统的内部实现机制比较复杂,如果想讲清楚需要较长的篇幅才行,本文只从应用的角度介绍如何注册中断并添加中断处理函数到代码中,不对其内部的实现机制做太多阐述。

  • 浅谈触摸屏充电器噪声要求及测量方法

    触摸屏在高噪声环境下的性能是当前移动电子设备特别是智能手机设计人员面临的巨大挑战之一。而在这些噪声当中,充电器噪声是被广泛涉及和对触摸屏影响最大的噪声源。这种噪声通过USB充电器物理耦合至传感器进而被TOUCH IC所采集。它可以造成触摸的精度或线性度下降、产生误触,严重的会造成触摸屏变得无响应。本文结合我在工作中的一些经验来介绍一下触摸屏设计中的对噪声相关的要求,测量方法以及一些降噪的方法。

  • Linux fork() 函数

    本文主要总结了Linux fork()函数的使用。