Controlling your phone via ADB.
Project description
ADBconnect
Control your phone from your PC via USB debugging.
Installation:
Before using ADBconnect, you need to install ADB.
Setup:
USB:
To configure the device you can use arguments:
adb_path - path to adb
device - ID of the device to connect (if you don’t specify it, it will try to connect to the first existing one)
name - device name
from ADBconnect import USB
phone = USB(adb_path=r"C:\Users\ijidishurka\platform-tools", device='67e345rf')
phone.action.tap(100, 100)
in order to find out the device ID, enter adb devices
WIFI:
*ip - device ip address
adb_path - path to adb
port - device port (default 5555)
name - device name
from ADBconnect import WIFI
phone = WIFI(adb_path=r"C:\Users\ijidishurka\platform-tools", ip='192.168.0.101')
phone.action.tap(100, 100)
See code examples on our github
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ADBconnect-0.1.1.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file ADBconnect-0.1.1.tar.gz
.
File metadata
- Download URL: ADBconnect-0.1.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cf28715a2702d79a1bcc766433a71ead3042d6e769adb85a22f91fad2ec63e6 |
|
MD5 | ff6f73ad66b7d3512532d3a8b9a03b48 |
|
BLAKE2b-256 | c871b845144f7ce2e0501c3971cab9a9dc0732e7a8e39d3b1236b2a21e919a92 |
File details
Details for the file ADBconnect-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: ADBconnect-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5320956b7c13b8e42259dbd6aa3b30c91fc8eb15e96ef3bc36f75f905fd673aa |
|
MD5 | f3660d4b6c517b9891b991a9577b2294 |
|
BLAKE2b-256 | fd5da29a8605a39f3408b1dfce6c304a1ee683b38c1418e6efa77d0f351d69e2 |