Detect if ADB is enabled when its connected via WiFi

Viewed 25

Is there any possibility to check if ADB on device is enabled whenver we connect device via WiFi?

If we connect it via USB we can easily get this info by calling

isAdbEnabled = Settings.Global.getInt(applicationContext.getContentResolver(), Settings.Global.ADB_ENABLED);

documentation here

but unfortunately its only cover connection through cable.

0 Answers
Related