TAILIEUCHUNG - professional android application development phần 9

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 .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.