Android Wireless Control
Wireless-control based on wireless-control is a command line wireless control tool for Android automation enthusiasts.
Wireless-control's source code is made available under the BSD license.
Supported Python Versions
- Python 3.6+
- Windows 10 (Other platforms have not been tested and are not intended to be supported for the time being officially)
If you have pip on your system, you can simply install or upgrade wireless-control:
pip install -U wireless-control
Alternately, you can download the source distribution from PyPI, unarchive it, and run:
python setup.py install
Or by github.com:
git clone email@example.com:fjwCode/wireless-control.git cd wireless-control python setup.py install
Note: You may want to consider using virtualenv to create isolated Python environments.
First, make sure that:
- Your Android phone has USB debugging turned on in developer options.
- Your computer and phone are connected to the same WiFi.
- Only one phone connects your computer via USB cable.
OK, Let us begin now!
C:\WINDOWS\system32>python -m wireless_control.py Now you can unplug the USB cable, and control your device via WLAN. >>> driver.unlock(1997) # unlock your device by password >>> driver.view_packgets_list(keyword='tencent') ['com.tencent.mm', 'com.tencent.android.qqdownloader', 'com.tencent.tim'] >>> driver.make_a_call(18268237856) # call me >>> driver.end_the_all() # end the call