2026-04-01 18:37:49 +05:30
|
|
|
# Water Level Sensor
|
|
|
|
|
|
2026-04-01 18:39:00 +05:30
|
|
|
Builds using QtCreator, use Qt Version 6.9.<br>
|
|
|
|
|
Builds for android and desktop.<br>
|
|
|
|
|
On Android Creates a service from service.cpp and android/src/org/qtproject/example/appwaterLevelSensor/WaterLevelService.java.<br>
|
|
|
|
|
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.<br>
|
|
|
|
|
On Android the service does that, and creates an alert notification if the value in broadcast is less than alert threshold.<br>
|