Name | droid JSON |
Version |
1.4.22
JSON |
| download |
home_page | https://github.com/battleoverflow/droid |
Summary | Droid is a remote communication application created to communicate with Android devices on the local network over the Android debug bridge (adb). Available as a CLI or GUI. |
upload_time | 2024-04-17 04:51:44 |
maintainer | None |
docs_url | None |
author | battleoverflow |
requires_python | >=3.6 |
license | None |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
customtkinter
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Droid
<img src="https://raw.githubusercontent.com/battleoverflow/droid/main/.github/assets/droid_logo.png" />
Droid is a desktop application created to communicate with Android devices on the local network over the Android debug bridge (adb). You can access the Android device directly over USB or connect to the device through Droid via `adb`. Droid allows you to completely control the Android device using multiple options, including a CLI and a GUI.
IMPORTANT NOTE: Application does require Android debug bridge (adb) to be installed on the system.
## Install
Droid can be installed via `pip`
```bash
pip install droid
```
You can also download the executable from `itch.io`: https://battleoverflow.itch.io/droid
## GUI
If you would like to run the GUI, you can run this command to boot it up
```bash
droid
# or
droid -g
```
Current state of the user interface
<img src="https://raw.githubusercontent.com/battleoverflow/droid/main/.github/assets/gui.png" />
## Simple usage (CLI)
```bash
droid -ip 127.0.0.1 -c
```
## Options
```
-h, --help | Help menu
-v, --version | Version information for Droid
-ip, --ip_address | IP address of the Android device
-up, --upload | Absolute path of the APK to upload (ex: ~/Downloads/ApkName.apk)
-rm, --remove | Removes the old APK with the same package name (requires the -p flag)
-c, --connect | Connects to the Android device (requires the -ip flag)
-d, --disconnect | Disconnects from the Android device
-r, --reboot | Remotely reboots the Android device
-p, --package | The package name of the APK you would like to replace (ex: com.android.ui)
-dn, --download | Download a file from the Android device
-f, --file | Name of the file on your local machine (ex: ~/Downloads/ApkName.apk)
-fs, --file_system | Name & location of the file on the Android device
-loc, --location | Location on the Android device to push or remove the selected file (ex: /sdcard/Downloads)
-rmf, --rmfile | Remove a file from the Android device (set the absolute path using -loc)
-bl, --bluetooth | Start or stop bluetooth service for the Android device
-w, --wifi | Start or stop wifi service for the Android device
-s, --screenshot | Take a screenshot of the current Android screen
-o, --output | Name of the output file when taking a screenshot (omit the extension)
-l, --log | Outputs Logcat logs in real time to a set file
-g, --gui | A graphical user interface built to communicate with an Android device
-co --content | Update a file on the Android device without downloading it
```
I would recommend running this command before doing anything else to confirm you can successfully connect to the Android device on your network
```bash
droid -ip 127.0.0.1 -c
```
## Example(s)
This example connects to the Android device (127.0.0.1), removes the specified APK package (`com.android.ui`), and then uploads a new APK called `test_apk_v1.apk`
```bash
droid -ip 127.0.0.1 -c -rm -p com.android.ui -up ~/Downloads/test_apk_v1.apk
```
This example downloads a test images from the Android device onto your local machine (automatically saves it in the ~/Downloads folder on most platforms)
```bash
droid -ip 127.0.0.1 --download /sdcard/cool_pic.png
```
Once you're finished working within the environment, you can run this command to disconnect from the Android device:
```bash
droid -ip 127.0.0.1 -d
```
We now have the option to control the bluetooth service on Android devices. You can `start` the service by running this command (stopping the service uses the `stop` argument):
```bash
droid -ip 127.0.0.1 -bl=start
```
You can `stop` the service by running this command (starting the service uses the `start` argument):
```bash
droid -ip 127.0.0.1 -w=stop
```
NOTE: When turning the wifi off, if you are communicating with the Android device remotely, this will result in the device being disconnected and unusable until the network is re-established.
This command will take a screenshot of the current Android screen while monitoring Logcat in real-time:
```bash
droid -ip 127.0.0.1 -sl -o screenshot
```
# More Info
A wiki for common Android snippets is also available. This wiki shows examples of how Droid can used with the Android operating system
Wiki: https://github.com/battleoverflow/droid/wiki/Helpful-Android-Snippets
Raw data
{
"_id": null,
"home_page": "https://github.com/battleoverflow/droid",
"name": "droid",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "battleoverflow",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/67/86/bdbdf0a007ce6eeba9a461afd8256d90130caa893707c123189d6a28e374/droid-1.4.22.tar.gz",
"platform": null,
"description": "# Droid\n\n<img src=\"https://raw.githubusercontent.com/battleoverflow/droid/main/.github/assets/droid_logo.png\" />\n\nDroid is a desktop application created to communicate with Android devices on the local network over the Android debug bridge (adb). You can access the Android device directly over USB or connect to the device through Droid via `adb`. Droid allows you to completely control the Android device using multiple options, including a CLI and a GUI.\n\nIMPORTANT NOTE: Application does require Android debug bridge (adb) to be installed on the system.\n\n## Install\n\nDroid can be installed via `pip`\n\n```bash\npip install droid\n```\n\nYou can also download the executable from `itch.io`: https://battleoverflow.itch.io/droid\n\n## GUI\n\nIf you would like to run the GUI, you can run this command to boot it up\n\n```bash\ndroid\n\n# or\n\ndroid -g\n```\n\nCurrent state of the user interface\n\n<img src=\"https://raw.githubusercontent.com/battleoverflow/droid/main/.github/assets/gui.png\" />\n\n## Simple usage (CLI)\n\n```bash\ndroid -ip 127.0.0.1 -c\n```\n\n## Options\n\n```\n-h, --help\t |\tHelp menu\n-v, --version\t |\tVersion information for Droid\n-ip, --ip_address | IP address of the Android device\n-up, --upload | Absolute path of the APK to upload (ex: ~/Downloads/ApkName.apk)\n-rm, --remove | Removes the old APK with the same package name (requires the -p flag)\n-c, --connect | Connects to the Android device (requires the -ip flag)\n-d, --disconnect | Disconnects from the Android device\n-r, --reboot | Remotely reboots the Android device\n-p, --package | The package name of the APK you would like to replace (ex: com.android.ui)\n-dn, --download | Download a file from the Android device\n-f, --file | Name of the file on your local machine (ex: ~/Downloads/ApkName.apk)\n-fs, --file_system | Name & location of the file on the Android device\n-loc, --location | Location on the Android device to push or remove the selected file (ex: /sdcard/Downloads)\n-rmf, --rmfile | Remove a file from the Android device (set the absolute path using -loc)\n-bl, --bluetooth | Start or stop bluetooth service for the Android device\n-w, --wifi | Start or stop wifi service for the Android device\n-s, --screenshot | Take a screenshot of the current Android screen\n-o, --output | Name of the output file when taking a screenshot (omit the extension)\n-l, --log | Outputs Logcat logs in real time to a set file\n-g, --gui | A graphical user interface built to communicate with an Android device\n-co --content | Update a file on the Android device without downloading it\n```\n\nI would recommend running this command before doing anything else to confirm you can successfully connect to the Android device on your network\n\n```bash\ndroid -ip 127.0.0.1 -c\n```\n\n## Example(s)\n\nThis example connects to the Android device (127.0.0.1), removes the specified APK package (`com.android.ui`), and then uploads a new APK called `test_apk_v1.apk`\n\n```bash\ndroid -ip 127.0.0.1 -c -rm -p com.android.ui -up ~/Downloads/test_apk_v1.apk\n```\n\nThis example downloads a test images from the Android device onto your local machine (automatically saves it in the ~/Downloads folder on most platforms)\n\n```bash\ndroid -ip 127.0.0.1 --download /sdcard/cool_pic.png\n```\n\nOnce you're finished working within the environment, you can run this command to disconnect from the Android device:\n\n```bash\ndroid -ip 127.0.0.1 -d\n```\n\nWe now have the option to control the bluetooth service on Android devices. You can `start` the service by running this command (stopping the service uses the `stop` argument):\n\n```bash\ndroid -ip 127.0.0.1 -bl=start\n```\n\nYou can `stop` the service by running this command (starting the service uses the `start` argument):\n\n```bash\ndroid -ip 127.0.0.1 -w=stop\n```\n\nNOTE: When turning the wifi off, if you are communicating with the Android device remotely, this will result in the device being disconnected and unusable until the network is re-established.\n\nThis command will take a screenshot of the current Android screen while monitoring Logcat in real-time:\n\n```bash\ndroid -ip 127.0.0.1 -sl -o screenshot\n```\n\n# More Info\n\nA wiki for common Android snippets is also available. This wiki shows examples of how Droid can used with the Android operating system\n\nWiki: https://github.com/battleoverflow/droid/wiki/Helpful-Android-Snippets\n",
"bugtrack_url": null,
"license": null,
"summary": "Droid is a remote communication application created to communicate with Android devices on the local network over the Android debug bridge (adb). Available as a CLI or GUI.",
"version": "1.4.22",
"project_urls": {
"Homepage": "https://github.com/battleoverflow/droid"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3a6c95cff0567228e7b3c47073399dd93590aeed89c2f165d69249684897ded6",
"md5": "adfd0f5b2f4b3de665191f7861e4dac7",
"sha256": "fc178c978d7e333253de73e915124bb0e9c63d2ae857b02ce80dba69a525da03"
},
"downloads": -1,
"filename": "droid-1.4.22-py3-none-any.whl",
"has_sig": false,
"md5_digest": "adfd0f5b2f4b3de665191f7861e4dac7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 13354,
"upload_time": "2024-04-17T04:51:42",
"upload_time_iso_8601": "2024-04-17T04:51:42.838155Z",
"url": "https://files.pythonhosted.org/packages/3a/6c/95cff0567228e7b3c47073399dd93590aeed89c2f165d69249684897ded6/droid-1.4.22-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6786bdbdf0a007ce6eeba9a461afd8256d90130caa893707c123189d6a28e374",
"md5": "55e609505ecdd8367e50266c7a625cdc",
"sha256": "0f71f746e2a83218e20046a15adeed214eb33952e5cdb2622aef3328c69978f7"
},
"downloads": -1,
"filename": "droid-1.4.22.tar.gz",
"has_sig": false,
"md5_digest": "55e609505ecdd8367e50266c7a625cdc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 11231,
"upload_time": "2024-04-17T04:51:44",
"upload_time_iso_8601": "2024-04-17T04:51:44.267638Z",
"url": "https://files.pythonhosted.org/packages/67/86/bdbdf0a007ce6eeba9a461afd8256d90130caa893707c123189d6a28e374/droid-1.4.22.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-17 04:51:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "battleoverflow",
"github_project": "droid",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "customtkinter",
"specs": [
[
"==",
"4.6.3"
]
]
}
],
"lcname": "droid"
}