Creates (partial) functions for every Android activity using ADB
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
Metadata
Release files for a-pandas-ex-adb-execute-activities 0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| a_pandas_ex_adb_execute_activities-0.10.tar.gz | 7.6 kB | Without provenance | Details for a_pandas_ex_adb_execute_activities-0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| a_pandas_ex_adb_execute_activities-0.10-py3-none-any.whl | Python 3 | none | any | Details for a_pandas_ex_adb_execute_activities-0.10-py3-none-any.whl |
Total release size: 16.8 kB
Release files / a_pandas_ex_adb_execute_activities-0.10.tar.gz
| Download URL | a_pandas_ex_adb_execute_activities-0.10.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eebe18100f53bd6cb8d1787e8d90c37d8759191c31f879c177b5f44144fb3002
|
|
BLAKE2b-256 checksum How to use checksums |
e14e4658b976c8f67a489499d1859e7b1c2c423cfdf9d538a2e74cbe03b852b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / a_pandas_ex_adb_execute_activities-0.10-py3-none-any.whl
| Download URL | a_pandas_ex_adb_execute_activities-0.10-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb7d45c19d4c048152e408aac81a1d9452983509292b923fab1e6176ec34bc18
|
|
BLAKE2b-256 checksum How to use checksums |
39a6f9409400b3560697e3bbbf79f711b98074e9f34d0c101a5156662de1be03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for a-pandas-ex-adb-execute-activities 0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.