请高手帮忙翻译成英文。 20

自iPhone问世以来,传感器被广泛的应用在手机上,逐渐成为手机硬件的重要组成部分。方向传感器就是其中之一。虽然手机可以通过GPS来判断方向,但在GPS信号不好或根本没有... 自iPhone问世以来,传感器被广泛的应用在手机上,逐渐成为手机硬件的重要组成部分。方向传感器就是其中之一。虽然手机可以通过GPS来判断方向,但在GPS信号不好或根本没有GPS信号的情况下,GPS就形同虚设。这时通过方向传感器(磁阻传感器)就可以很容易判断方向。有了方向传感器使罗盘(即指南针)的电子化成为可能。
电子罗盘的设计主要就是方向传感器的应用。在Android应用程序中使用方向传感器要依赖于Android内部的SensorListener接口和SensorManager传感器综合管理类。在SensorManager主要负责传感器的注册、卸载以及传感器服务信息的管理。在Android程序中通过getSystemService和registerListener获得传感器并注册一个传感器,使用unregisterListener来卸载一个传感器。SensorListener中的两个方法分别是onSensorChanged和onAccuracyChanged,他们主要负责传感器检测方向的改变和传感器精度的改变。方向传感器获得角度传递给旋转补间动画部分,这样就可以实现电子罗盘的功能。SensorManager主要负责传感器的注册、卸载以及传感器服务信息的管理。在Android程序中通过getSystemService和registerListener获得传感器并注册一个传感器,使用unregisterListener来卸载一个传感器。SensorListener中的两个方法分别是onSensorChanged和onAccuracyChanged,他们主要负责传感器检测方向的改变和传感器精度的改变。方向传感器获得角度传递给旋转补间动画部分,这样就可以实现电子罗盘的功能。
展开
 我来答
yangtao201314
2011-06-09
知道答主
回答量:8
采纳率:0%
帮助的人:0
展开全部
Since the iPhone came out, the sensors are widely used on mobile phones, gradually become important part of the phones hardware. Direction sensor is one. Although the mobile phone can be determined by GPS directions, but in the case of GPS signal is not good or no GPS signal, GPS is useless. Through the direction sensor (magnetic sensor) it's easy to judge direction. Compass with direction sensor (the compass) electronic possible. Application of electronic compass direction is the design of the sensor. Use direction sensor in your Android application to rely on Android SensorListener interface and integrated management of SensorManager sensor inside the class. SensorManager is mainly responsible for registration, uninstall, and sensor sensor service information management. In the Android program through getSystemService and registerListener access to sensors and register a sensor, using unregisterListener to uninstall a sensor. Two of the SensorListener methods onSensorChanged and onAccuracyChanged, respectively, they are mainly responsible for the sensor detecting changes and precision of sensor in the direction of change. Direction angle sensor access pass to the rotating part of a motion tween, so that you can implement features electronic compass. SensorManager is mainly responsible for registration, uninstall, and sensor sensor service information management. In the Android program through getSystemService and registerListener access to sensors and register a sensor, using unregisterListener to uninstall a sensor. Two of the SensorListener methods onSensorChanged and onAccuracyChanged, respectively, they are mainly responsible for the sensor detecting changes and precision of sensor in the direction of change. Direction angle sensor access pass to the rotating part of a motion tween, so that you can implement features electronic compass. 回答者: mailebide | 一级 | 2011-5-29 22:15
Since the iPhone since the advent of the application, the sensor has been widely on cellphones, gradually become an important part of mobile hardware. Direction sensor is one of them. While cell phones can judge direction by GPS, but in GPS signal not or no GPS signals, GPS is non-existing. Then through the direction sensor (magnetic resistance sensor) would be easy to judge the direction. Orientation sensor that compass (namely the electronic compass) become possible. Since the iPhone since the advent of the application, the sensor has been widely on cellphones, gradually become an important part of mobile hardware. Direction sensor is one of them. While cell phones can judge direction by GPS, but in GPS signal not or no GPS signals, GPS is non-existing. Then through the direction sensor (magnetic resistance sensor) would be easy to judge the direction. Orientation sensor that compass (namely the electronic compass) become possible.
Electronic compass design is mainly direction sensor applications. In Android applications use direction sensor dependent on Android SensorListener interface and internal SensorManager sensor comprehensive management classes. In SensorManager mainly responsible for sensor registered, unloading and sensor information service management. GetSystemService in Android program through registerListener get sensor and registered with a sensor, use unregisterListener to uninstall the sensor. The two methods were SensorListener onSensorChanged and onAccuracyChanged, they mainly responsible for sensor test change of direction and sensor precision of the change. Direction transfer to rotation Angle sensor gain between animation for, so that they can realize the function of electronic compass. SensorManager mainly responsible for sensor registered, unloading and sensor information service management. GetSystemService in Android program through registerListener get sensor and registered with a sensor, use unregisterListener to uninstall the sensor. The two methods were SensorListener onSensorChanged and onAccuracyChanged, they mainly responsible for sensor test change of direction and sensor precision of the change. Direction transfer to rotation Angle sensor gain between animation for, so that they can realize the function of electronic compass.
乔木青果
2011-05-29 · TA获得超过715个赞
知道答主
回答量:220
采纳率:0%
帮助的人:127万
展开全部
Since the iPhone since the advent of the application, the sensor has been widely on cellphones, gradually become an important part of mobile hardware. Direction sensor is one of them. While cell phones can judge direction by GPS, but in GPS signal not or no GPS signals, GPS is non-existing. Then through the direction sensor (magnetic resistance sensor) would be easy to judge the direction. Orientation sensor that compass (namely the electronic compass) become possible. Since the iPhone since the advent of the application, the sensor has been widely on cellphones, gradually become an important part of mobile hardware. Direction sensor is one of them. While cell phones can judge direction by GPS, but in GPS signal not or no GPS signals, GPS is non-existing. Then through the direction sensor (magnetic resistance sensor) would be easy to judge the direction. Orientation sensor that compass (namely the electronic compass) become possible.
Electronic compass design is mainly direction sensor applications. In Android applications use direction sensor dependent on Android SensorListener interface and internal SensorManager sensor comprehensive management classes. In SensorManager mainly responsible for sensor registered, unloading and sensor information service management. GetSystemService in Android program through registerListener get sensor and registered with a sensor, use unregisterListener to uninstall the sensor. The two methods were SensorListener onSensorChanged and onAccuracyChanged, they mainly responsible for sensor test change of direction and sensor precision of the change. Direction transfer to rotation Angle sensor gain between animation for, so that they can realize the function of electronic compass. SensorManager mainly responsible for sensor registered, unloading and sensor information service management. GetSystemService in Android program through registerListener get sensor and registered with a sensor, use unregisterListener to uninstall the sensor. The two methods were SensorListener onSensorChanged and onAccuracyChanged, they mainly responsible for sensor test change of direction and sensor precision of the change. Direction transfer to rotation Angle sensor gain between animation for, so that they can realize the function of electronic compass.
本回答被网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
mailebide
2011-05-29
知道答主
回答量:26
采纳率:0%
帮助的人:8.2万
展开全部
Since the iPhone came out, the sensors are widely used on mobile phones, gradually become important part of the phones hardware. Direction sensor is one. Although the mobile phone can be determined by GPS directions, but in the case of GPS signal is not good or no GPS signal, GPS is useless. Through the direction sensor (magnetic sensor) it's easy to judge direction. Compass with direction sensor (the compass) electronic possible. Application of electronic compass direction is the design of the sensor. Use direction sensor in your Android application to rely on Android SensorListener interface and integrated management of SensorManager sensor inside the class. SensorManager is mainly responsible for registration, uninstall, and sensor sensor service information management. In the Android program through getSystemService and registerListener access to sensors and register a sensor, using unregisterListener to uninstall a sensor. Two of the SensorListener methods onSensorChanged and onAccuracyChanged, respectively, they are mainly responsible for the sensor detecting changes and precision of sensor in the direction of change. Direction angle sensor access pass to the rotating part of a motion tween, so that you can implement features electronic compass. SensorManager is mainly responsible for registration, uninstall, and sensor sensor service information management. In the Android program through getSystemService and registerListener access to sensors and register a sensor, using unregisterListener to uninstall a sensor. Two of the SensorListener methods onSensorChanged and onAccuracyChanged, respectively, they are mainly responsible for the sensor detecting changes and precision of sensor in the direction of change. Direction angle sensor access pass to the rotating part of a motion tween, so that you can implement features electronic compass.
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 更多回答(1)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式