title: How to get ADB status?
body: <p><a href="https://stackoverflow.com/a/3623727/1393280">This post</a> described how to switch on and switch off debugging via WiFi. Is there way to detect current status for this? I think I need to get current value of service.adb.tcp.port and check it on equals -1. But how to get this value?</p>