5

Settings.Global.ADB_ENABLED flag is only responsive for USB debugging. Is there an alternative for checking WiFi debugging in Developer options is enabled programmatically?

Device is not rooted. su commands will not work.

  • Do you want to know if your phone is connected via wifi? Then , you can use [Xamarin.Essentials: Connectivity](https://learn.microsoft.com/en-us/xamarin/essentials/connectivity?tabs=android) to achieve this. – Jessie Zhang -MSFT Nov 19 '21 at 06:54
  • No, I want to know if Wifi Debugging option is enabled in Developer options, basically. – Artūras Stifanovičius Nov 19 '21 at 11:23
  • I am looking same solution, Have you got answer? – Anuj Zunjarrao Oct 07 '22 at 09:53
  • Does this answer your question? [detect wireless debugging option active or not in developer mode in android programmatically](https://stackoverflow.com/questions/73990443/detect-wireless-debugging-option-active-or-not-in-developer-mode-in-android-prog) – Troy Oct 15 '22 at 06:54

0 Answers0