A python module which makes interaction with android adb easier.
This module can be used by everyone who implements some android-related stuff on Python and at the same time has to interact with android adb.
It makes interaction with android adb easier because of proper error handling and some useful features.
Currently following adb commands are supported:
- adb push
- adb pull
- adb shell
- adb devices
Currently following adb commands are not supported:
- adb install
- adb forward
- adb get-serialno
- adb get-state
- adb wait-for-device
- adb start-server
- adb kill-server
- adb logcat
- adb bugreport
- adb jdwp
- adb help
- adb version
- adb -d
- adb -e
- adb -s
- Execute install command in root folder:
python setup.py install
- Import adb to your module and just use it:
import adb
adb.push(/tmp/file.txt, /data/media/0)
adb.pull(/data/media/0/file.txt, /tmp/)
...
- To implement adb commands which are currently not supported by the module (see above)
- To increase unit test coverage for already supported commands
- To bring your ideas!