Initial commit: Android Tether API app

Exposes phone connection status via HTTP API for tethered devices.

Features:
- Auto-start/stop server when tethering is enabled/disabled
- REST API with /status and /health endpoints
- Connection type, signal strength, carrier, battery info
- Foreground service with persistent notification

Stack: Kotlin 2.3, AGP 8.13, Gradle 8.13, compileSdk 36
This commit is contained in:
2025-12-18 21:08:56 +01:00
commit 017172f48a
27 changed files with 1809 additions and 0 deletions

8
app/proguard-rules.pro vendored Normal file
View File

@@ -0,0 +1,8 @@
# NanoHTTPD
-keep class fi.iki.elonen.** { *; }
-keep class org.nanohttpd.** { *; }
# Gson
-keepattributes Signature
-keepattributes *Annotation*
-keep class dev.itsh.tetherapi.data.** { *; }