Example code for humidity sensor on Android devices