This commit is contained in:
TheUnrealDragon 2026-04-01 18:39:00 +05:30
commit 2b4f09bb49

View file

@ -1,8 +1,8 @@
# Water Level Sensor # Water Level Sensor
Builds using QtCreator, use Qt Version 6.9. Builds using QtCreator, use Qt Version 6.9.<br>
Builds for android and desktop. Builds for android and desktop.<br>
On Android Creates a service from service.cpp and android/src/org/qtproject/example/appwaterLevelSensor/WaterLevelService.java On Android Creates a service from service.cpp and android/src/org/qtproject/example/appwaterLevelSensor/WaterLevelService.java.<br>
Changes in AndroidManifest.xml are important. Changes in AndroidManifest.xml are important.<br>
On Desktop just waits for values from a UDP Broadcast on local network with port 8176 and shows those values. On Desktop just waits for values from a UDP Broadcast on local network with port 8176 and shows those values.<br>
On Android the service does that, and creates an alert notification if the value in broadcast is less than alert threshold. On Android the service does that, and creates an alert notification if the value in broadcast is less than alert threshold.<br>