### Creates (partial) functions for every Android activity using ADB
```python
pip install a-pandas-ex-adb-execute-activities
from a_pandas_ex_adb_execute_activities import pd_add_adb_execute_activities
pd_add_adb_execute_activities()
import pandas as pd
packagename = "com.google.android.youtube"
adb_path = "C:\\Users\\Gamer\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe"
deviceserial = "localhost:5745"
df = pd.Q_ADB_activities_from_package_to_df(adb_path, deviceserial, packagename)
df2 = pd.Q_ADB_all_activities_to_df(adb_path, deviceserial)
#Overview
df.com_google_android_youtube_com_google_android_apps_youtube_app_application_Shell_UploadActivity__UPLOAD__DEFAULT__video
Out[19]:
package com.google.android.youtube/com.google.android....
Action com.google.android.youtube.intent.action.UPLOAD
AutoVerify false
Category android.intent.category.DEFAULT
Type video
mHasPartialTypes true
mPriority 0
Scheme
command am start -a "com.google.android.youtube.intent...
call -a "com.google.android.youtube.intent.action.U...
Name: com_google_android_youtube_com_google_android_apps_youtube_app_application_Shell_UploadActivity__UPLOAD__DEFAULT__video, dtype: object
#-a / -c /-n / -t will be automatically passed when calling the function
df.com_google_android_youtube_com_google_android_apps_youtube_app_application_Shell_UploadActivity__UPLOAD__DEFAULT__video.call
Out[20]:
-a "com.google.android.youtube.intent.action.UPLOAD"
-c "android.intent.category.DEFAULT"
-n "com.google.android.youtube/com.google.android.apps.youtube.app.application.Shell_UploadActivity"
-t "video"
package: com.google.android.youtube/com.google.android.apps.youtube.app.application.Shell_UploadActivity
AutoVerify: false
Type: video
mHasPartialTypes: true
mPriority: 0
Scheme:
# If you want to upload a video on YouTube, for example, you can complete the adb call like this:
df.com_google_android_youtube_com_google_android_apps_youtube_app_application_Shell_UploadActivity__UPLOAD__DEFAULT__video.call('-d file:///storage/emulated/0/DCIM/SharedFolder/xxa.mp4')
Executing: am start -a "com.google.android.youtube.intent.action.UPLOAD" -c "android.intent.category.DEFAULT" -n "com.google.android.youtube/com.google.android.apps.youtube.app.application.Shell_UploadActivity" -t "video" -d file:///storage/emulated/0/DCIM/SharedFolder/xxa.mp4
b'Starting: Intent { act=com.google.android.youtube.intent.action.UPLOAD cat=[android.intent.category.DEFAULT] dat=file:///storage/emulated/0/DCIM/SharedFolder/xxa.mp4 typ=video cmp=com.google.android.youtube/com.google.android.apps.youtube.app.application.Shell_UploadActivity }\r\n'
# if you pass stop=True / wait=True, the adb command will be executed with -S / -W respectively
```
Raw data
{
"_id": null,
"home_page": "https://github.com/hansalemaos/a_pandas_ex_adb_execute_activities",
"name": "a-pandas-ex-adb-execute-activities",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "activity,uiautomator,dumpsys,adb,android,debugging,pandas,DataFrame,automation",
"author": "Johannes Fischer",
"author_email": "<aulasparticularesdealemaosp@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/e1/4e/4658b976c8f67a489499d1859e7b1c2c423cfdf9d538a2e74cbe03b852b5/a_pandas_ex_adb_execute_activities-0.10.tar.gz",
"platform": null,
"description": "\n### Creates (partial) functions for every Android activity using ADB \n\n\n\n```python\n\npip install a-pandas-ex-adb-execute-activities\n\n\n\nfrom a_pandas_ex_adb_execute_activities import pd_add_adb_execute_activities\n\n\n\npd_add_adb_execute_activities()\n\nimport pandas as pd\n\n\n\npackagename = \"com.google.android.youtube\"\n\nadb_path = \"C:\\\\Users\\\\Gamer\\\\AppData\\\\Local\\\\Android\\\\Sdk\\\\platform-tools\\\\adb.exe\"\n\ndeviceserial = \"localhost:5745\"\n\ndf = pd.Q_ADB_activities_from_package_to_df(adb_path, deviceserial, packagename)\n\ndf2 = pd.Q_ADB_all_activities_to_df(adb_path, deviceserial)\n\n\n\n#Overview \n\ndf.com_google_android_youtube_com_google_android_apps_youtube_app_application_Shell_UploadActivity__UPLOAD__DEFAULT__video\n\nOut[19]: \n\npackage com.google.android.youtube/com.google.android....\n\nAction com.google.android.youtube.intent.action.UPLOAD\n\nAutoVerify false\n\nCategory android.intent.category.DEFAULT\n\nType video\n\nmHasPartialTypes true\n\nmPriority 0\n\nScheme \n\ncommand am start -a \"com.google.android.youtube.intent...\n\ncall -a \"com.google.android.youtube.intent.action.U...\n\nName: com_google_android_youtube_com_google_android_apps_youtube_app_application_Shell_UploadActivity__UPLOAD__DEFAULT__video, dtype: object\n\n\n\n\n\n\n\n#-a / -c /-n / -t will be automatically passed when calling the function\n\ndf.com_google_android_youtube_com_google_android_apps_youtube_app_application_Shell_UploadActivity__UPLOAD__DEFAULT__video.call \n\nOut[20]: \n\n-a \"com.google.android.youtube.intent.action.UPLOAD\"\n\n-c \"android.intent.category.DEFAULT\"\n\n-n \"com.google.android.youtube/com.google.android.apps.youtube.app.application.Shell_UploadActivity\"\n\n-t \"video\"\n\npackage: com.google.android.youtube/com.google.android.apps.youtube.app.application.Shell_UploadActivity\n\nAutoVerify: false\n\nType: video\n\nmHasPartialTypes: true\n\nmPriority: 0\n\nScheme:\n\n\n\n\n\n# If you want to upload a video on YouTube, for example, you can complete the adb call like this:\n\n\n\ndf.com_google_android_youtube_com_google_android_apps_youtube_app_application_Shell_UploadActivity__UPLOAD__DEFAULT__video.call('-d file:///storage/emulated/0/DCIM/SharedFolder/xxa.mp4') \n\n\n\nExecuting: am start -a \"com.google.android.youtube.intent.action.UPLOAD\" -c \"android.intent.category.DEFAULT\" -n \"com.google.android.youtube/com.google.android.apps.youtube.app.application.Shell_UploadActivity\" -t \"video\" -d file:///storage/emulated/0/DCIM/SharedFolder/xxa.mp4\n\nb'Starting: Intent { act=com.google.android.youtube.intent.action.UPLOAD cat=[android.intent.category.DEFAULT] dat=file:///storage/emulated/0/DCIM/SharedFolder/xxa.mp4 typ=video cmp=com.google.android.youtube/com.google.android.apps.youtube.app.application.Shell_UploadActivity }\\r\\n'\n\n\n\n# if you pass stop=True / wait=True, the adb command will be executed with -S / -W respectively \n\n\n\n\n\n```\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Creates (partial) functions for every Android activity using ADB",
"version": "0.10",
"split_keywords": [
"activity",
"uiautomator",
"dumpsys",
"adb",
"android",
"debugging",
"pandas",
"dataframe",
"automation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "39a6f9409400b3560697e3bbbf79f711b98074e9f34d0c101a5156662de1be03",
"md5": "f9d2d92befaea33878589ad057a4211d",
"sha256": "fb7d45c19d4c048152e408aac81a1d9452983509292b923fab1e6176ec34bc18"
},
"downloads": -1,
"filename": "a_pandas_ex_adb_execute_activities-0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f9d2d92befaea33878589ad057a4211d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9200,
"upload_time": "2022-12-04T06:53:34",
"upload_time_iso_8601": "2022-12-04T06:53:34.132556Z",
"url": "https://files.pythonhosted.org/packages/39/a6/f9409400b3560697e3bbbf79f711b98074e9f34d0c101a5156662de1be03/a_pandas_ex_adb_execute_activities-0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e14e4658b976c8f67a489499d1859e7b1c2c423cfdf9d538a2e74cbe03b852b5",
"md5": "97b789b0d8ceaf91f17cfe2c2844ef32",
"sha256": "eebe18100f53bd6cb8d1787e8d90c37d8759191c31f879c177b5f44144fb3002"
},
"downloads": -1,
"filename": "a_pandas_ex_adb_execute_activities-0.10.tar.gz",
"has_sig": false,
"md5_digest": "97b789b0d8ceaf91f17cfe2c2844ef32",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7596,
"upload_time": "2022-12-04T06:53:36",
"upload_time_iso_8601": "2022-12-04T06:53:36.032717Z",
"url": "https://files.pythonhosted.org/packages/e1/4e/4658b976c8f67a489499d1859e7b1c2c423cfdf9d538a2e74cbe03b852b5/a_pandas_ex_adb_execute_activities-0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-04 06:53:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "hansalemaos",
"github_project": "a_pandas_ex_adb_execute_activities",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "a-pandas-ex-adb-execute-activities"
}