This Flutter app is designed for Wear OS devices to access and display Barometer values, Location data, and Altitude information. It utilizes Flutter's cross-platform capabilities to deliver sensor data directly to your wrist. This README provides an overview of the app's features.
Note: Before using this app, please ensure that your Wear OS device supports the necessary sensors and permissions.
- Barometer Data: Access real-time barometer readings.
- Location Data: Retrieve location information
- Altitude Information: Altitude based on location
Note: To enable geocoding functionality, please obtain an API key from the website https://locationiq.com/ and add it on appropriate dart file.
- Enable developer options on your WearOS device.
- Enable USB Debugging and Wireless debugging.
- Both PC and Watch should be on same Wi-Fi network.
- Pair device using
adb pair <IP of device>
then enter pairing code when prompted for secure TCP/IP communication. adb pair
is used for wifi pairing your device with Android >= 11, whileadb connect
can be used to connect directly to a device with Android <11 over wifi.- Either you can debug directly or Build app using
flutter build apk --release
command and install the app usingadb install <path to .apk file>
recommended
- Do the same steps as above in How to debug section tiil Step 5.
- Then copy downloaded file to PC and run command prompt in the same folder.
- Install the app using
adb install <path to .apk file>
(PC). You can also use your android phone to install app; use GeminiMan WearOS Manager app from playstore. - Enjoy the app.
Lava lamp Animation credit - https://github.com/RetroMusicPlayer/Paisa