A native Android application that continuously monitors and displays cellular network type (4G/5G) with real-time notifications and alerts.
- Real-time Network Detection: Continuously monitors cellular network type using Android's TelephonyManager API
- 4G/5G Detection: Accurately identifies 4G LTE and 5G networks (including 5G NSA where applicable)
- Persistent Notification: Always-visible notification banner showing current network status
- Network Change Alerts: Instant notifications when switching between 4G and 5G networks
- User Controls: Easy toggle to enable/disable monitoring with settings for sound and vibration alerts
- Foreground Service: Ensures continuous monitoring even when app is in background
- PhoneStateListener: Real-time callbacks for network state changes
- Battery Efficient: Uses system callbacks instead of polling to minimize battery usage
- Permission Handling: Graceful requesting and handling of required permissions
- Android 10+ Support: Compatible with modern Android versions supporting 5G APIs
- Clean Material Design: Modern, intuitive interface with clear status displays
- Real-time Updates: Live display of network type, carrier, and signal strength
- Settings Panel: Configure alert preferences (sound/vibration)
- Quick Controls: Toggle monitoring directly from notification or main app
The app requests the following permissions:
READ_PHONE_STATE: To detect cellular network type and carrier informationACCESS_NETWORK_STATE: To monitor network connectivity statusACCESS_WIFI_STATE: To detect WiFi connectionsFOREGROUND_SERVICE: To run continuous monitoring servicePOST_NOTIFICATIONS: To show persistent notifications and alerts (Android 13+)VIBRATE: For vibration alerts when network changes
- MainActivity: Primary UI interface with network status display and controls
- NetworkMonitorService: Foreground service handling continuous network monitoring
- NetworkStateListener: PhoneStateListener implementation for real-time network changes
- NotificationHelper: Manages persistent notifications and network change alerts
- BootCompleteReceiver: Auto-starts monitoring after device reboot (if previously enabled)
- Service runs as foreground service with persistent notification
- Uses TelephonyManager for accurate network type detection
- Implements PhoneStateListener for real-time change detection
- Supports quick toggle actions directly from notification
The app accurately identifies:
- 2G Networks: GPRS, EDGE, CDMA, 1xRTT
- 3G Networks: UMTS, EVDO variants, HSDPA, HSUPA, HSPA, HSPA+
- 4G Networks: LTE (Long Term Evolution)
- 5G Networks: 5G NR (New Radio), including NSA (Non-Standalone) detection
- WiFi Connections: Separate handling for WiFi connectivity
- Direct network type detection using
NETWORK_TYPE_NR(Android 10+) - ServiceState analysis for 5G NSA connections
- Fallback detection for various 5G deployment scenarios
The app follows Android best practices for battery efficiency:
- Uses system callbacks instead of polling
- Foreground service ensures system doesn't kill monitoring
- Minimal CPU usage with event-driven architecture
- Proper service lifecycle management
- Minimum Android Version: Android 10 (API level 29)
- Target Android Version: Android 14 (API level 34)
- Hardware Requirements: Device with cellular capability
- Network Requirements: Active cellular connection for full functionality
- Install and Launch: Install the app and grant required permissions
- Enable Monitoring: Toggle the monitoring switch in main interface
- Configure Alerts: Set preferences for sound and vibration alerts
- Background Operation: App continues monitoring when in background
- Quick Controls: Use notification actions to toggle monitoring
- Network Changes: Receive alerts when switching between 4G and 5G
- Built with Java for maximum compatibility
- Uses official Android SDK APIs only (no third-party dependencies)
- Follows Material Design guidelines
- Implements proper permission handling for all Android versions
- Comprehensive error handling and logging
- Uses only official Android APIs
- No paid or third-party services required
- Respects user privacy with minimal permission requests
- Follows Android security best practices
- No data collection or external network communication
- Data usage monitoring and alerts
- Network speed testing integration
- Historical network type logging
- Advanced 5G feature detection (mmWave, sub-6GHz)
- Battery usage optimization metrics






