When No usb cabble connecting to your android phone,but you need to check your app's log information.
You can use Android Console Server
Using a NanoHTTPD Server on app side for serving the console command and request.
- list external app directory infos
- clear external app directory files
- format activity info string