https://github.com/fujiawei-dev/wireless-control
A command line wireless control tool for Android.
https://github.com/fujiawei-dev/wireless-control
android automation cerium control wireless
Last synced: 5 months ago
JSON representation
A command line wireless control tool for Android.
- Host: GitHub
- URL: https://github.com/fujiawei-dev/wireless-control
- Owner: fujiawei-dev
- License: bsd-3-clause
- Created: 2018-05-06T09:27:51.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-29T13:30:49.000Z (about 5 years ago)
- Last Synced: 2025-01-01T15:28:08.801Z (7 months ago)
- Topics: android, automation, cerium, control, wireless
- Language: Python
- Size: 4.88 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Android Wireless Control
[](https://pypi.org/project/wireless-control/)
[](https://pypi.org/project/wireless-control/)
[](https://pypi.org/project/wireless-control/)
[](https://pypi.org/project/wireless-control/)
[](https://github.com/ffujiawei/wireless-control/LICENSE)> 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](https://github.com/ffujiawei/wireless-control/LICENSE).
## Supported Python Versions
* Python 3.6+## Supported Platforms
* Windows 10 (Other platforms have not been tested and are not intended to be supported for the time being officially)## Installation
If you have [pip](https://pip.pypa.io/) 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](https://badge.fury.io/py/wireless-control), unarchive it, and run:
python setup.py install
Or by [github.com](https://github.com/ffujiawei/wireless-control):
git clone [email protected]:ffujiawei/wireless-control.git
cd wireless-control
python setup.py install> Note: You may want to consider using [virtualenv](http://www.virtualenv.org/) to create isolated Python environments.
## Usage
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## Author
Wireless-control is written and maintained by [White Turing](https://github.com/ffujiawei) ([email protected]).