- 浏览: 559287 次
- 性别:
- 来自: 广州
文章分类
- 全部博客 (338)
- 已过时文章(留念用) (39)
- Android学习笔记 (30)
- Android开发指引自译 (100)
- Android NDK文档自译 (23)
- Android设计指引自译 (2)
- xp(ペケピー)&linux(理奈、铃)酱~ (4)
- ui酱&歌词自译~ (9)
- lua酱~ (9)
- 自我反省 (1)
- 羽game计划 (1)
- XSL酱 (2)
- java酱 (3)
- 设计的领悟 (58)
- 涂鸦作品(pixiv) (1)
- ruby酱 (2)
- Objective-C编程语言自译 (2)
- Android开发月报 (6)
- objc酱 (2)
- photoshop (3)
- js酱 (6)
- cpp酱 (8)
- antlr酱 (7)
- Lua 5.1参考手册自译 (11)
- 收藏品 (3)
- 待宵草计划 (4)
- 体验版截图 (1)
最新评论
-
naruto60:
太给力了!!!!我这网打不开Intel官网,多亏楼主贴了连接, ...
使用HAXM加速的Android x86模拟器(和一些问题) -
yangyile2011:
谢谢博主,翻译得很好哦
【翻译】(4)片段 -
ggwang:
牙痛的彼岸:痹!
牙痛的彼岸 -
ggwang:
总结得很简练清晰啊,学习了!
ANTLR学习笔记一:概念理解 -
leisurelife1990:
mk sdd
用git下载Android自带app的源代码
【翻译】(88)传感器
see
http://developer.android.com/guide/topics/sensors/index.html
原文见
http://developer.android.com/guide/topics/sensors/index.html
-------------------------------
Sensors
传感器
-------------------------------
Topics
主题
Sensors Overview 传感器概览
Motion Sensors 动作(注:运动)传感器
Position Sensors 位置传感器
Environment Sensors 环境传感器
Key classes and interfaces
关键类与接口
Sensor
SensorEvent
SensorManager
SensorEventListener
Related samples
相关示例
Accelerometer Play 加速计游戏
API Demos (OS - RotationVectorDemo) API演示(操作系统-旋转向量演示)
API Demos (OS - Sensors) API演示(操作系统-传感器)
-------------------------------
Most Android-powered devices have built-in sensors that measure motion, orientation, and various environmental conditions. These sensors are capable of providing raw data with high precision and accuracy, and are useful if you want to monitor three-dimensional device movement or positioning, or you want to monitor changes in the ambient environment near a device. For example, a game might track readings from a device's gravity sensor to infer complex user gestures and motions, such as tilt, shake, rotation, or swing. Likewise, a weather application might use a device's temperature sensor and humidity sensor to calculate and report the dewpoint, or a travel application might use the geomagnetic field sensor and accelerometer to report a compass bearing.
大多数基于Android的设备拥有测量动作、方向和各种环境条件的内置传感器。这些传感器能够提供带高精度和准确性的原始数据,并且有帮助如果你想监测三维设备移动或定位,或者你想监测设备附近周围环境的改变。例如,一个游戏可能跟踪设备的重力感应器的读取以推断用户手势和动作,诸如倾斜、摇动、旋转、或摆动(注:挥动)。同样,一个天气应用程序可能使用一个设备的温度传感器和湿度传感器以计算和报告露点(注:固定气压下结露的温度,用于判断水汽含量),或者一个旅游(注:出行)应用程序可能使用地磁场传感器和加速计来报告一个罗盘方向角(注:方向角的一种,见维基的介绍http://zh.wikipedia.org/zh/%E6%96%B9%E4%BD%8D%E8%A7%92)。
The Android platform supports three broad categories of sensors:
Android平台支持三种传感器的广泛(注:广义)分类:
* Motion sensors
* 动作传感器
These sensors measure acceleration forces and rotational forces along three axes. This category includes accelerometers, gravity sensors, gyroscopes, and rotational vector sensors.
这些传感器测量沿三个轴的加速度力(注:这里可能是指位移造成的力分量)和旋转力(注:这里可能是指自转造成的力分量)。这个分类包括加速计、重力传感器(注:也简称G-sensor,特指线加速度传感器)、陀螺仪,以及旋转向量传感器(注:可能特指角加速度传感器)。
* Environmental sensors
* 环境传感器
These sensors measure various environmental parameters, such as ambient air temperature and pressure, illumination, and humidity. This category includes barometers, photometers, and thermometers.
这些传感器测量各种环境参数,诸如环境大气温度和压强,照度和湿度。这个分类包括气压计、光度计,和温度计。
* Position sensors
* 位置传感器
These sensors measure the physical position of a device. This category includes orientation sensors and magnetometers.
这些传感器测量设备的物理位置。这个分类包括方向传感器和磁强计。
To access these sensors, you can use the Android sensor framework. The sensor framework provides several classes and interfaces that help you perform a wide variety of sensor-related tasks. To learn more about the framework and the sensors that are supported on the Android system, read the following documents:
为了访问这些传感器,你可以使用Android传感器框架。传感器框架提供几个类和接口,它们帮助你执行广泛种类的传感器相关任务。要想知道关于该框架和在Android系统上支持的传感器的更多信息,请阅读以下文档:
Sensors Overview
传感器概览
Learn how to list the sensors that are on a device, set up sensor event listeners, and acquire sensor data. Also learn best practices for accessing and using sensors.
学习如何列举设备上的传感器,配置传感器事件监听器,以及获取传感器数据。还学习访问和使用传感器的最佳实践。
Motion Sensors
动作传感器
Learn how to use the sensors that provide acceleration data, such as the accelerometer, gravity sensor, and linear acceleration sensor. Also learn how to use the sensors that provide rotational data, such as gyroscopes and rotational vector sensors.
学习如何使用提供加速度数据的传感器,诸如加速计、重力感应器,以及线性加速度感应器。还学习如何使用提供旋转数据的传感器,诸如陀螺仪和旋转向量传感器。
Position Sensors
位置传感器
Learn how to use the sensors that provide orientation and compass data, such as the orientation sensor and the geomagnetic field sensor.
学习如何使用提供方向和罗盘数据的传感器,诸如方向传感器和地磁场传感器。
Environment Sensors
环境传感器
Learn how to use the sensors that provide environmental data, such as the light, humidity, pressure, temperature, and proximity sensors.
学习如何使用提供环境数据的传感器,诸如光照、湿度、压力(注:这里的压力传感器是用来测量液体与气体的压强)、温度、以及接近(注:通过电磁感应在非接触下检测对象)传感器。
Except as noted, this content is licensed under Apache 2.0. For details and restrictions, see the Content License.
除特别说明外,本文在Apache 2.0下许可。细节和限制请参考内容许可证。
Android 4.0 r1 - 09 May 2012 23:46
-------------------------------
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
此页部分内容,是基于Android开源项目所创建和共享的工作,并且根据知识共享2.5署名许可证描述的条款来使用的修改版。
(本人翻译质量欠佳,请以官方最新内容为准,或者参考其它翻译版本:
* ソフトウェア技術ドキュメントを勝手に翻訳
http://www.techdoctranslator.com/android
* 微风的网络日志
http://leybreeze.com/blog/
* 农民伯伯
http://www.cnblogs.com/over140/
* Android中文翻译组
http://androidbox.sinaapp.com/
)
发表评论
-
【翻译】(9-补丁2)电话簿提供者
2012-07-18 12:54 2332【翻译】(9-补丁2)电话簿提供者 see h ... -
【翻译】(8-补丁1)Android接口定义语言(AIDL)
2012-07-02 05:55 2849【翻译】(8-补丁1)Andro ... -
【翻译】(0)应用组件
2012-06-30 23:50 788【翻译】(0)应用组件 see http:// ... -
【翻译】(87)复制与粘贴
2012-05-20 14:48 1883【翻译】(87)复制与粘贴 see http: ... -
【翻译】(86)音频捕捉
2012-05-16 15:14 1037【翻译】(86)音频捕捉 ... -
【翻译】(85)照相机
2012-05-13 15:09 3726【翻译】(85)照相机 see http:// ... -
【翻译】(84)JetPlayer
2012-04-21 16:24 932【翻译】(84)JetPlayer see h ... -
【翻译】(83)媒体回放
2012-04-21 16:00 1800【翻译】(83)媒体回放 see http:/ ... -
【翻译】(82)多媒体与照相机
2012-04-18 23:05 904【翻译】(82)多媒体与照相机 see htt ... -
【翻译】(23-补丁3)构建无障碍服务
2012-04-18 21:57 1580【翻译】(23-补丁3)构 ... -
【翻译】(23-补丁2)使应用程序无障碍
2012-04-16 13:08 2028【翻译】(23-补丁2)使应用程序无障碍 see ... -
【翻译】(23-补丁1)无障碍
2012-04-11 22:38 853【翻译】(23-补丁1)无 ... -
【翻译】(81)Renderscript之运行时API参考手册
2012-04-11 22:13 1375【翻译】(81)Renderscript之运行时API参 ... -
【翻译】(80)Renderscript之计算
2012-04-09 14:09 1387【翻译】(80)Renderscript之计算 ... -
【翻译】(79)Renderscript之图形
2012-04-08 13:59 2799【翻译】(79)Renderscript之图形 ... -
【翻译】(78)Renderscript
2012-04-04 15:35 1393【翻译】(78)Renderscript see ... -
【翻译】(77)可绘画对象动画
2012-03-18 10:52 664【翻译】(77)可绘画对象动画 see htt ... -
【翻译】(76)视图动画
2012-03-18 10:04 758【翻译】(76)视图动画 see http:/ ... -
【翻译】(75)属性动画
2012-03-17 18:24 2472【翻译】(75)属性动画 see http:/ ... -
【翻译】(74)动画
2012-03-10 14:22 989【翻译】(74)动画 ...
相关推荐
毕业设计外文翻译外文文献温度传感器老师传的
传感器传感器传感器传感器传感器传感器传感器
单片机外文翻译—传感器信号调理应用现场可编程模拟阵列(英文+译文)
电感式传感器电感式传感器电电电感式传感器感式传感器感式传感器
本书综述传感器技术的基本理论,详细介绍各类传感器的工作原理,误差来源与应用场合,择要阐述主要传感器类型的设计原则与方法。全书共16章,可分三个部分:第一部分为共性部分,以新颖的构思与笔法介绍了传感器的...
传感器 热电式传感器 压电式传感器 光电式传感器 传感器的弹性敏感器件等
传感器技术609 传感器610 传感器的理论与设计基础及其应用611 传感器原理 设计与应用(第三版)612 现代传感器集成电路:通用传感器电路613 新编传感器技术手册670 常用传感器应用电路671 传感器电路分析与设计672 ...
传感器知识点 传感器 有关现代传感器的技术 传感器的相关应用
传感器技术 609 传感器 610 传感器的理论与设计基础及其应用 611 传感器原理 设计与应用(第三版) 612 现代传感器集成电路:通用传感器电路 613 新编传感器技术手册 670 常用传感器应用电路 671 传感器电路分析与...
常用传感器 压力传感器 温度传感器 酒精传感器 ........
角度传感器角度传感器角度传感器角度传感器角度传感器角度传感器角度传感器角度传感器角度传感器角度传感器
红外传感器资料红外传感器资料红外传感器资料红外传感器资料红外传感器资料红外传感器资料红外传感器资料红外传感器资料红外传感器资料红外传感器资料红外传感器资料红外传感器资料红外传感器资料红外传感器资料红外...
我做毕业设计时翻译的一个转角传感器的datasheet 给大家分享下
在本文中,我们将详细介绍WSN技术,它与物联网的关系,受益于无线传感器网络的行业,以及超声波传感器如何适应您的无线传感器网络。 什么是无线传感器网络(WSN)技术? 无线传感器网络(Wireless Sensor ...
烟雾传感器烟雾传烟雾传感器烟雾传感器 烟雾传感器 器
传感器原理及应用传感器原理及应用传感器原理及应用传感器原理及应用
图像传感器 图像传感器学习资料 ppt 文档
土壤湿度传感器程序Arduino 例程详细教学37.土壤湿度传感器程序Arduino 例程详细教学37.土壤湿度传感器程序Arduino 例程详细教学37.土壤湿度传感器程序Arduino 例程详细教学37.土壤湿度传感器程序Arduino 例程详细...
温度传感器温度传感器温度传感器温度传感器温度传感器温度传感器温度传感器温度传感器温度传感器温度传感器
距离传感器与方向传感器