AdbLibTest icon indicating copy to clipboard operation
AdbLibTest copied to clipboard

Could you please give more introduction about how to use AdbLibTest?

Open FredaZhang338 opened this issue 4 years ago • 6 comments

Hi @cgutman ,thanks for your distribution. Actually, I have no idea how to understand "AdbLibTest" and how to use "adblib" to make an app like remote shell you did. Could you please give more introduction or documents about these work?Thank you very much.

FredaZhang338 avatar Mar 09 '20 05:03 FredaZhang338

Hi @cgutman ,thanks for your distribution. Actually, I have no idea how to understand "AdbLibTest" and how to use "adblib" to make an app like remote shell you did. Could you please give more introduction or documents about these work?Thank you very much.

Hey! did you find anything?

BhargavBhanshali avatar Oct 21 '20 10:10 BhargavBhanshali

There aren't docs for the interfaces, but I think the example in this repo is pretty clear.

Under 200 lines to demonstrate creating keys, authenticating, and establishing a shell connection: https://github.com/cgutman/AdbLibTest/blob/master/src/AdbTest.java

If that's not enough, can you clarify what specifically you're looking for?

cgutman avatar Oct 21 '20 14:10 cgutman

There aren't docs for the interfaces, but I think the example in this repo is pretty clear.

Under 200 lines to demonstrate creating keys, authenticating, and establishing a shell connection: https://github.com/cgutman/AdbLibTest/blob/master/src/AdbTest.java

If that's not enough, can you clarify what specifically you're looking for?

I want to connect my android tv and send adb commands to it from mobile app just like your Remote ADB Shell app. I dont know how to use this lib. i have tried but it gets error "error=13,Permission denied". Pl help

BhargavBhanshali avatar Oct 22 '20 05:10 BhargavBhanshali

@cgutman I think the request is how to use this library in an Android app which sounds like it's out of scope for this project.

pauledwardtang avatar Dec 07 '20 03:12 pauledwardtang

There aren't docs for the interfaces, but I think the example in this repo is pretty clear. Under 200 lines to demonstrate creating keys, authenticating, and establishing a shell connection: https://github.com/cgutman/AdbLibTest/blob/master/src/AdbTest.java If that's not enough, can you clarify what specifically you're looking for?

I want to connect my android tv and send adb commands to it from mobile app just like your Remote ADB Shell app. I dont know how to use this lib. i have tried but it gets error "error=13,Permission denied". Pl help

@BhargavBhanshali what specifically have you tried?

pauledwardtang avatar Dec 07 '20 03:12 pauledwardtang

There aren't docs for the interfaces, but I think the example in this repo is pretty clear. Under 200 lines to demonstrate creating keys, authenticating, and establishing a shell connection: https://github.com/cgutman/AdbLibTest/blob/master/src/AdbTest.java If that's not enough, can you clarify what specifically you're looking for?

I want to connect my android tv and send adb commands to it from mobile app just like your Remote ADB Shell app. I dont know how to use this lib. i have tried but it gets error "error=13,Permission denied". Pl help

You need to give internet permission to your Android app from manifest

I know it's quite late but this might help someone else

shaikh-amaan-fm avatar Nov 24 '21 12:11 shaikh-amaan-fm