Translate

# Description: #help strings
AccelerometerSensorHelpStringComponentPallette
Non-visible component that can detect shaking and measure acceleration approximately in three dimensions using SI units (m/s<sup>2</sup>). The components are: <ul><li> <strong>xAccel</strong>: 0 when the phone is at rest on a flat surface, positive when the phone is tilted to the right (i.e., its left side is raised), and negative when the phone is tilted to the left (i.e., its right size is raised).</li> <li> <strong>yAccel</strong>: 0 when the phone is at rest on a flat surface, positive when its bottom is raised, and negative when its top is raised. </li> <li> <strong>zAccel</strong>: Equal to -9.8 (earth''s gravity in meters per second per second when the device is at rest parallel to the ground with the display facing up, 0 when perpendicular to the ground, and +9.8 when facing down. The value can also be affected by accelerating it with or against gravity. </li></ul>
380/8850
SourceTranslationState
5
AboveRange
超出上限
6
AbsoluteStrength
绝对强度
7
Indicates the absolute strength of the field.
磁场的强度。
8
Indicates the acceleration changed in the X, Y, and/or Z dimensions.
加速度在x,y和/或z方向上有变化。
9
AccelerationChanged
加速被改变
10
Non-visible component that can detect shaking and measure acceleration approximately in three dimensions using SI units (m/s<sup>2</sup>). The components are: <ul><li> <strong>xAccel</strong>: 0 when the phone is at rest on a flat surface, positive when the phone is tilted to the right (i.e., its left side is raised), and negative when the phone is tilted to the left (i.e., its right size is raised).</li> <li> <strong>yAccel</strong>: 0 when the phone is at rest on a flat surface, positive when its bottom is raised, and negative when its top is raised. </li> <li> <strong>zAccel</strong>: Equal to -9.8 (earth''s gravity in meters per second per second when the device is at rest parallel to the ground with the display facing up, 0 when perpendicular to the ground, and +9.8 when facing down. The value can also be affected by accelerating it with or against gravity. </li></ul>
<p>非可视组件,可以用于侦测晃动,并测出加速度三个维度分量的近似值,单位为米/秒<sup>2</sup>(m/s<sup>2</sup>),分别为:</p><ul><li><strong>X分量</strong>: 当手机在平面上静止时,其值为零;当手机向左倾斜时(即,右侧升起),其值为正;而向右倾斜时(左侧升起),其值为负。</li><li><strong>Y分量</strong>: 当手机在平面上静止时,其值为零;当手机顶部抬起时,其值为正;而当底部抬起时,其值为负。</li><li><strong>Z分量</strong>: 当设备屏幕朝上地静止在与地面平行的平面上时,其值为9.8(地球的重力加速度);当垂直于地面时,其值为0;当屏幕朝下时,其值为-9.8。无论是否由于重力的原因,让手机加速运动,就会改变它的加速度分量值。</li></ul>
11
Returns whether the accelerometer is available on the device.
加速度传感器是否可用。
12
If true, the sensor will generate events. Otherwise, no events are generated even if the device is accelerated or shaken.
若为真,传感器会生成事件。否则,即使设备在加速或被晃动,也不会生成事件。
13
Prior to the release that added this property the AccelerometerSensor component passed through sensor values directly as received from the Android system. However these values do not compensate for tablets that default to Landscape mode, requiring the MIT App Inventor programmer to compensate. However compensating would result in incorrect results in Portrait mode devices such as phones. We now detect Landscape mode tablets and perform the compensation. However if your project is already compensating for the change, you will now get incorrect results. Although our preferred solution is for you to update your project, you can also just set this property to “true” and our compensation code will be deactivated. Note: We recommend that you update your project as we may remove this property in a future release.
在添加该属性之前,加速度传感器将从安卓系统收到的感应值直接返回。但是这些值并没有对默认横屏的设备进行调整,需要程序开发者自行调整。而调整会导致竖屏设备(比如手机)不正确的结果。我们现在检测横屏平板并进行调整。但如果你的项目已经有过调整,你就会得到错误结果。虽然首选的解决方案是升级你的项目,但是你还是可以仅仅设置该属性为真,这样我们的调整代码就不启用。注意:我们推荐升级你的项目,因为该属性可能会在后续版本中移除。
14
The minimum interval, in milliseconds, between phone shakes
晃动的最小时间间隔(毫秒)
15
AccentColor
强调颜色

Loading…

Loading…

Things to check

Glossary

Source Translation
No related strings found in the glossary.

Source information

Context
AccelerometerSensorHelpStringComponentPallette
Comments
# Description: #help strings
Source string age
4 years ago
Translation file
appinventor/appengine/src/com/google/appinventor/client/OdeMessages_zh_CN.properties, string 10