network_monitor

command
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2026 License: CC0-1.0 Imports: 8 Imported by: 0

Documentation

Overview

Check network connectivity status via NetworkManagementService.

IConnectivityManager is a Java-only AIDL interface, so transaction codes cannot be resolved for it. Instead, we use INetworkManagementService (service name "network_management") which has full AIDL support and provides network interface listing, firewall state, tethering status, and bandwidth control information.

Build:

GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/network_monitor ./examples/network_monitor/
adb push build/network_monitor /data/local/tmp/ && adb shell /data/local/tmp/network_monitor

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL