Zero-network native Android application (ThermoHygro-Offline.apk, package com.thermohygro.offlinesensor) that reads hardware Sensor.TYPE_AMBIENT_TEMPERATURE (13), Sensor.TYPE_RELATIVE_HUMIDITY (12), Sensor.TYPE_ACCELEROMETER (1), Sensor.TYPE_MAGNETIC_FIELD (2), and the compensated hardware thermistor fallback, displaying live results in Fahrenheit (°F) and a rotating graphic compass rose with 0 network permissions.
Connect your phone via USB with USB Debugging enabled and run:
adb install -r --no-streaming ThermoHygro-Offline.apk
adb shell am start -n com.thermohygro.offlinesensor/.MainActivityOr simply run:
sh ./install-to-phone.shThis archive includes the standalone Python Dalvik bytecode & APK Signature Scheme v2 compiler (scripts/build_apk.py) and your persistent signing key (scripts/debug_key.pem). To revise and rebuild the APK locally on Linux:
python3 scripts/build_apk.py
adb install -r --no-streaming public/ThermoHygro-Offline.apk
adb shell am start -n com.thermohygro.offlinesensor/.MainActivity