An Android utility app to keep your network connection active by sending periodic TCP packets.
https://github.com/AndrewWangDev/Keep_Network_Alive
| Splash Screen | Dashboard (Logging) | Settings |
|---|---|---|
![]() |
![]() |
![]() |
- TCP Keep-Alive: Sends periodic TCP packets to a specified IPv4 address and port to prevent network idle timeouts.
- Android 14 Ready: Built with modern Android standards, compatible with the latest Foreground Service restrictions.
- System Integrity: Ensures valid IPv4 input to avoid ambiguity.
- Material You: Beautiful, adaptive UI built with Jetpack Compose and Material 3.
- Detailed Logging: View real-time connection status and history.
- Android 8.0 (Oreo) or higher.
- Critical: You must allow valid "Background Usage" (Battery Optimization) for this app to function reliably when the screen is off.
- Download the latest APK from the Releases page.
- Install on your Android device.
- Grant Permissions:
- On first launch, you may be asked to allow Notifications (for the persistent service status).
- Configure:
- Go to the Settings tab.
- Enter Target IPv4 (e.g.,
192.168.1.1). - Enter Target Port (e.g.,
80or22). - Set Interval (e.g.,
10seconds). - Tap "Allow Background Usage" and select "Unrestricted" or "Don't Optimize" for this app.
- Run:
- Go to Network tab.
- Click Start Service.
- Kotlin - First-class language for Android.
- Jetpack Compose - Modern toolkit for building native UI.
- Material 3 - The latest design system from Google.
- Coroutines & Flow - asynchronous programming.
This project is licensed under the MIT License - see the LICENSE file for details.


