内射老阿姨1区2区3区4区_久久精品人人做人人爽电影蜜月_久久国产精品亚洲77777_99精品又大又爽又粗少妇毛片

AndrdoidSensorsOverview(探測器概述)二-創(chuàng)新互聯(lián)

Introduction to Sensors

介紹傳感器

創(chuàng)新互聯(lián)建站是一家集網(wǎng)站建設,社旗企業(yè)網(wǎng)站建設,社旗品牌網(wǎng)站建設,網(wǎng)站定制,社旗網(wǎng)站建設報價,網(wǎng)絡營銷,網(wǎng)絡優(yōu)化,社旗網(wǎng)站推廣為一體的創(chuàng)新建站企業(yè),幫助傳統(tǒng)企業(yè)提升企業(yè)形象加強企業(yè)競爭力??沙浞譂M足這一群體相比中小企業(yè)更為豐富、高端、多元的互聯(lián)網(wǎng)需求。同時我們時刻保持專業(yè)、時尚、前沿,時刻以成就客戶成長自我,堅持不斷學習、思考、沉淀、凈化自己,讓我們?yōu)楦嗟钠髽I(yè)打造出實用型網(wǎng)站。

The Android sensor framework lets you access many types of sensors. Some of these sensors

are hardware-based and some are software-based. Hardware-based sensors are physical components built into a handset or tablet device. They derive their data by directly measuring specific environmental properties, such as acceleration, geomagnetic field strength, or angular change. Software-based sensors are not physical devices, although they mimic hardware-based sensors. Software-based sensors derive their data from one or more of the hardware-based sensors and are sometimes called virtual sensors or synthetic sensors. The linear acceleration sensor and the gravity sensor are examples of software-based sensors.

Android sensor framework 讓你使用多種傳感器。有基于硬件和基于軟件的。基于硬件的傳感器是內置于設備中的物理組件。它們直接測量具體的環(huán)境屬性來得出數(shù)據(jù),例如加速度,地磁場強度,或者角的變化?;谲浖膫鞲衅髂悴皇俏锢碓O備,盡管它們模擬硬件傳感器。軟件探測器通過一個或者多個硬件傳感器來得出數(shù)據(jù),有時稱為虛擬傳感器或者合成傳感器。線性加速度傳感器和重力傳感器是軟件傳感器的例子。

Table 1 summarizes the sensors that are supported by the Android platform.

表1 總結了android 平臺支持的傳感器。

Few Android-powered devices have every type of sensor. For example, most handset devices and tablets have an accelerometer and a magnetometer, but fewer devices have barometers or thermometers. Also, a device can have more than one sensor of a given type. For example, a device can have two gravity sensors, each one having a different range.

少有android 設備每種傳感器都有。例如,大部分手機設備和平板有一個加速計和一個磁力計,但是較少設備有氣壓計或溫度計。一個設備也可以有一個以上的同類傳感器,如果可以用兩個不同范圍的重力傳感器。

Table 1. Sensor types supported by the Android platform.

表1。Android 平臺支持的傳感器種類。

SensorTypeDescriptionCommon Uses
TYPE_ACCELEROMETERHardware

Measures the acceleration force inm/s2 that is applied to a device on all three physical axes (x, y, and z), including the force of gravity.

測量在設備的三個軸的加速度,單位 m/s2 ,包括重力加速度

Motion detection (shake, tilt, etc.).

運動檢測

TYPE_AMBIENT_TEMPERATUREHardware

Measures the ambient room temperature in degrees Celsius (°C). See note below.

測量室溫,單位攝氏度(°C)

Monitoring air temperatures.

監(jiān)視空氣溫度

TYPE_GRAVITYSoftware or Hardware

Measures the force of gravity in m/s2 that is applied to a device on all three physical axes (x, y, z).

測量在設備三個軸的重力加速度,單位m/s2 。

Motion detection (shake, tilt, etc.).
TYPE_GYROSCOPEHardware

Measures a device's rate of rotation in rad/s around each of the three physical axes (x, y, and z).

測量在設備三個軸上的角速度。單位rad/s

Rotation detection (spin, turn, etc.).

旋轉檢測

TYPE_LIGHTHardware

Measures the ambient light level (illumination) in lx.

測試環(huán)境亮度級,單位 lx

Controlling screen brightness.

控制屏幕亮度

TYPE_LINEAR_ACCELERATIONSoftware or Hardware

Measures the acceleration force in m/s2 that is applied to a device

on all three physical axes (x, y, and z), excluding the force of gravity.

測量在設備三軸上的加速度,排除了重力。

Monitoring acceleration along a single axis.

檢測一個軸上的加速度

TYPE_MAGNETIC_FIELDHardware

Measures the ambient geomagnetic field for all three physical axes (x, y, z) in μT.

測量三軸的地磁場,單位μT

Creating a compass.

創(chuàng)建一個羅盤

TYPE_ORIENTATIONSoftware

Measures degrees of rotation that a device makes around all three physical axes (x, y, z).As of API level 3 you can obtain the inclination matrix and rotation matrix for  a device by using the gravity sensor and the geomagnetic field sensor in conjunction with the getRotationMatrix() method.

測量設備繞三軸轉的旋轉度。

Determining device position.
TYPE_PRESSUREHardwareMeasures the ambient air pressure in hPa or mbar.測量氣壓
Monitoring air pressure changes.
TYPE_PROXIMITYHardwareMeasures the proximity of an object in cm relative to the view screen of a device. This sensor is typically used to determine whether a handset is being held up to a person's ear.Phone position during a call.
TYPE_RELATIVE_HUMIDITYHardwareMeasures the relative ambient humidity in percent (%).Monitoring dewpoint, absolute, and relative humidity.
TYPE_ROTATION_VECTORSoftware or HardwareMeasures the orientation of a device by providing the three elements of the device's    rotation vector.Motion detection and rotation detection.
TYPE_TEMPERATUREHardwareMeasures the temperature of the device in degrees Celsius (°C). This sensor implementation varies across devices and this sensor was replaced with the TYPE_AMBIENT_TEMPERATURE sensor in API Level 14Monitoring temperatures.

另外有需要云服務器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內外云服務器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務器、裸金屬服務器、高防服務器、香港服務器、美國服務器、虛擬主機、免備案服務器”等云主機租用服務以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應用場景需求。

文章標題:AndrdoidSensorsOverview(探測器概述)二-創(chuàng)新互聯(lián)
鏈接URL:http://www.rwnh.cn/article40/cejsho.html

成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供手機網(wǎng)站建設、網(wǎng)頁設計公司、軟件開發(fā)、域名注冊ChatGPT、品牌網(wǎng)站設計

廣告

聲明:本網(wǎng)站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經(jīng)允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)

成都定制網(wǎng)站網(wǎng)頁設計
沧州市| 洪洞县| 彰化市| 讷河市| 久治县| 峨眉山市| 广饶县| 石渠县| 荔浦县| 察雅县| 故城县| 云霄县| 镇康县| 麻江县| 云梦县| 河北省| 江阴市| 淅川县| 平利县| 津南区| 巴东县| 秀山| 新建县| 长治县| 大邑县| 桂阳县| 临泉县| 扎赉特旗| 淮阳县| 淮滨县| 随州市| 施甸县| 中宁县| 织金县| 湟中县| 平武县| 玛沁县| 宣化县| 襄垣县| 墨脱县| 全州县|