jaredrummler / KtSh

Execute shell commands on Android or the JVM
http://jaredrummler.github.io/ktsh/
Apache License 2.0
716 stars 153 forks source link

How to fire up adb commands using Shell.kt #17

Open vekain opened 2 years ago

vekain commented 2 years ago

I am trying to fire up adb commands on my app using the shell.kt file but it gives result as error everytime. (Non rooted device)

jaredrummler commented 2 years ago

Please provide more details.

jaredrummler commented 2 years ago

Please provide more details.

On Wed, May 11, 2022 at 7:49 AM vekain @.***> wrote:

I am trying to fire up adb commands on my app using the shell.kt file but it gives result as error everytime. (Non rooted device)

— Reply to this email directly, view it on GitHub https://github.com/jaredrummler/KtSh/issues/17, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPKP7ONYNRFFGBV33WLZY3VJPCHVANCNFSM5VVG2U5Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Jared Rummler M +1 (714) 854-5456 <7148545456> W jaredrummler.com E @.***

The materials (including any attachments) of this e-mail are intended solely for the addressee(s) and may contain confidential and privileged information and legally protected from disclosure. If you are not the intended recipient be advised that any unauthorized use, disclosure, copying, distribution or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and delete the e-mail.

victorjaviermartin commented 2 years ago

Hi @jaredrummler, he want to know how integrate a raw file libadb.so with your shell like an app of linux to be executed inside your shell.

I'm in the same question. Trying to integrate adb inside.

salosoft commented 1 month ago

So is it possible to run adb command using this library? I'd like to execute any adb command like: adb shell am start -a android.settings.WIRELESS_SETTINGS