vidstige / jadb

ADB Client in pure Java.
Apache License 2.0
640 stars 178 forks source link

Adb querying functions #114

Closed dllewellyn closed 5 years ago

dllewellyn commented 5 years ago

I've been working with jadb for a little while and I was wondering if you'd be interested in some of the features I've added. Mostly it's just wrappers around executeShell in order to get some information about the device;

Are any of these things of interest to the project?

vidstige commented 5 years ago

The first three - Retrieve battery information, etc, sound borderline out of scope. jadb tries to be at the core of the adb protocol. However, these functions could be very useful still. One thing you can consider is making your own library with helpful querying functions that depend on jadb.

The enable adb over WiFi sounds very much interesting for jadb, not at least because it sounds like it makes it easier to work with adb in general.

Perhaps start with the enable adb over WiFi? 🤔

TheQmaks commented 5 years ago

Lel. This ability not for jadb. Download wifiadb from GooglePlay, enable adb server in local network and connect to that from your pc by local ip witch be seen in application.

dllewellyn commented 5 years ago

That app only works on rooted devices. There is an command built into adb to enable adb over IP.

TheQmaks commented 5 years ago

Oh, sure. You right.

TheQmaks commented 5 years ago

That app only works on rooted devices. There is an command built into adb to enable adb over IP.

I tested that on MiBox 3.0. Just runned usb mode in dev settings and connected from adb laptop by local ip to box (without root).

dllewellyn commented 5 years ago

I'm not sure why you wouldn't want this to be in jadb regardless because it is part of adb to be able to do it...

On Fri, 4 Jan 2019, 17:35 Anatoliy <notifications@github.com wrote:

That app only works on rooted devices. There is an command built into adb to enable adb over IP.

I tested that on MiBox 3.0. Just runned usb mode in dev settings and connected from adb laptop by local ip to box (without root).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vidstige/jadb/issues/114#issuecomment-451512886, or mute the thread https://github.com/notifications/unsubscribe-auth/ALqHVNrjQLgywa8ot6DKbnGtHdAUWxSbks5u_5DOgaJpZM4Zj2Ww .

vidstige commented 5 years ago

@dllewellyn I'm with you here. Again, I think it's a good fit for jadb. 👍