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:
24
app/src/main/res/drawable/ic_notification.xml
Normal file
24
app/src/main/res/drawable/ic_notification.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<!-- Signal bars -->
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:pathData="M2,20 L4,20 L4,16 L2,16 Z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:pathData="M6,20 L8,20 L8,12 L6,12 Z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:pathData="M10,20 L12,20 L12,8 L10,8 Z" />
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:pathData="M14,20 L16,20 L16,4 L14,4 Z" />
|
||||
<!-- API indicator -->
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:pathData="M18,8 L22,8 L22,20 L20,20 L20,15 L18,15 L18,20 L18,8 M20,10 L20,13 L20,10 Z" />
|
||||
</vector>
|
||||
Reference in New Issue
Block a user