Chinaunix首页 | 论坛 | 博客
  • 博客访问: 326224
  • 博文数量: 102
  • 博客积分: 2510
  • 博客等级: 少校
  • 技术积分: 1146
  • 用 户 组: 普通用户
  • 注册时间: 2010-01-21 22:33
文章分类

全部博文(102)

文章存档

2011年(8)

2010年(94)

我的朋友

分类: 系统运维

2010-01-23 20:37:53

1>. Documents about sensors interface in IBM Development websites

Tapping into Android's sensors


android.hardware.SensorManagerA class that permits access to the sensors available within the Android platform. Not every Android-equipped device will support all of the sensors in theSensorManager, though it's exciting to think about the possibilities. (See below for a brief discussion of available sensors.)
android.hardware.SensorListenerAn interface implemented by a class that wants to receive updates to sensor values as they change in real time. An application implements this interface to monitor one or more sensors available in the hardware. For example, the  in this article contains a class that implements this interface to monitor the orientation of the device and the built-in accelerometer.

pay attention to resources list below this article,
there's one for dalvik:()

others developments websites are banned by gfw fu**cking wall.

2>. codes file lists
sensor manager and events:
frameworks/base/core/java/android/hardware/
services:
frameworks/base/services/java/com/android/server/

3> documents from jeffrey.

阅读(707) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~