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

18
settings.gradle.kts Normal file
View File

@@ -0,0 +1,18 @@
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "TetherAPI"
include(":app")