thế nào để sử dụng một số của các nhà cung cấp nội dung hữu ích và mạnh mẽ hơn bản địaSử dụng các nhà cung cấp hàng MediaCác Android Media Store cung cấp một kho lưu trữ quản lý âm thanh, video, và các tập tin hình ảnh. Bất cứ khi nào bạn thêm một tập tin đa phương tiện mới | Chapter 10 Accessing Android Hardware Indicates that the sensor data is of average accuracy and that calibration might improve the readings. Indicates that the sensor data is unreliable meaning that either calibration is required or readings are not currently possible. The Sensor Manager includes constants to help identify the sensor triggering the change event. The following list includes the sensors for which constants are currently defined. Some or all of these sensors will be available to your applications depending on the hardware available on the host device Is an accelerometer sensor that returns the current acceleration along three axes in meters per second squared m s2 . The accelerometer is explored in greater detail later in this chapter. Is an orientation sensor that returns the current orientation on three axes in degrees. The orientation sensor is explored in greater detail later in this chapter. Is an ambient-light sensor that returns a single value describing the ambient illumination in lux. Is a sensor used to determine the current magnetic field measured in microteslas pT along three axes. Is a proximity sensor that returns a single value describing the distance between the device and the target object in meters m . Is a thermometer sensor that returns the ambient temperature in degrees Celsius C . To receive notifications of changes from a particular sensor create a Sensor Listener as described previously and register it with the Sensor Manager specifying the sensor that should trigger the Listener and the rate at which the sensor should update as shown in the following code snippet mySensorListener .