研究了Android的架构及硬件驱动的实现原理,以数字式温湿度传感器DHT11为例,结合Android的硬件抽象层模式,设计了DHT11在Android平台下的驱动实现方法并编写了用户测试程序,测试结果表明,系统能正确获取传感器的温湿度数据,驱动程序运行正常.%This thesis illustrated the hardware architecture and driver principle of Android. The design of DHT11 driver in Android OS and the user application was given by using the hardware abstraction layer. The results show that the driver run normally and the application could obtain correct data of temperature and humidity from the sensor.
展开▼