{"id":44334078,"url":"https://github.com/hansalemaos/adbactivityautolite","last_synced_at":"2026-02-11T11:01:17.582Z","repository":{"id":199930414,"uuid":"704332304","full_name":"hansalemaos/adbactivityautolite","owner":"hansalemaos","description":"Uses -dumpsys activity top- instead of -uiautomator- to automate Android","archived":false,"fork":false,"pushed_at":"2023-10-13T03:23:17.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-21T23:40:20.576Z","etag":null,"topics":["activities","activity","adb","android","automation","dataframe","dumpsys"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/adbactivityautolite","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hansalemaos.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-13T03:22:58.000Z","updated_at":"2023-10-13T03:23:50.000Z","dependencies_parsed_at":"2023-10-14T14:02:39.487Z","dependency_job_id":"4043347b-266d-401b-86c7-981f095361a5","html_url":"https://github.com/hansalemaos/adbactivityautolite","commit_stats":null,"previous_names":["hansalemaos/adbactivityautolite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hansalemaos/adbactivityautolite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansalemaos%2Fadbactivityautolite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansalemaos%2Fadbactivityautolite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansalemaos%2Fadbactivityautolite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansalemaos%2Fadbactivityautolite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansalemaos","download_url":"https://codeload.github.com/hansalemaos/adbactivityautolite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansalemaos%2Fadbactivityautolite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29332292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["activities","activity","adb","android","automation","dataframe","dumpsys"],"created_at":"2026-02-11T11:00:34.833Z","updated_at":"2026-02-11T11:01:17.576Z","avatar_url":"https://github.com/hansalemaos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Uses -dumpsys activity top- instead of -uiautomator- to automate Android \r\n\r\n## Tested against Windows / Python 3.11 / Anaconda\r\n\r\n## pip install adbactivityautolite\r\n\r\n```python\r\nfrom adbactivityautolite import UiActivityDumpLite\r\nadbpath = r\"C:\\Android\\android-sdk\\platform-tools\\adb.exe\"\r\nserial_number = \"127.0.0.1:5555\"\r\nad = UiActivityDumpLite(\r\n    adb=None,\r\n    adb_path=adbpath,\r\n    serial_number=serial_number,\r\n)\r\n# Alternative:\r\n# adbpath = r\"C:\\Android\\android-sdk\\platform-tools\\adb.exe\"\r\n# serial_number = \"127.0.0.1:5555\"\r\n# # s2 = AdbCommands(adbpath, serial_number)  #\r\n# ad=UiActivityDumpLite(adb=s2)\r\ndf = ad.get_df(\r\n    timeout=60,\r\n    with_fu=True,\r\n    t_long_touch=1,\r\n)\r\n\r\nprint(df[20:30].to_string())\r\ndf.loc[df.aa_id_information == \"app:id/app_name_three\"].ff_mouse_longtap.iloc[0](\r\n    3\r\n)  # 3 seconds click\r\ndf.loc[df.aa_id_information == \"app:id/app_name_three\"].ff_mouse_tap.iloc[0]()\r\n#     aa_activity_id  aa_activity_index aa_area               aa_bounds aa_center_x aa_center_x_cropped aa_center_y aa_center_y_cropped                aa_class_name aa_clickable                                                                                                                aa_complete_dump aa_context_clickable aa_cropped_x_end aa_cropped_x_start aa_cropped_y_end aa_cropped_y_start aa_depth aa_drawn aa_enabled aa_focusable aa_get_parents aa_hashcode_hex aa_hashcode_int aa_height aa_height_cropped            aa_id_information  aa_is_child aa_long_clickable aa_mID_hex  aa_mID_int aa_old_index aa_pflag_activated aa_pflag_dirty_mask aa_pflag_focused aa_pflag_hovered aa_pflag_invalidated aa_pflag_is_root_namespace aa_pflag_prepressed aa_pflag_selected               aa_pure_id aa_scrollbars_horizontal aa_scrollbars_vertical aa_visibility aa_width aa_width_cropped aa_x_end aa_x_end_relative aa_x_start aa_x_start_relative aa_y_end aa_y_end_relative aa_y_start aa_y_start_relative    ff_dpad_longtap    ff_dpad_tap ff_gamepad_longtap ff_gamepad_tap ff_joystick_longtap ff_joystick_tap ff_keyboard_longtap ff_keyboard_tap   ff_mouse_longtap   ff_mouse_tap  ff_stylus_longtap  ff_stylus_tap         ff_tap ff_touchnavigation_longtap ff_touchnavigation_tap ff_touchpad_longtap ff_touchpad_tap ff_touchscreen_longtap ff_touchscreen_tap ff_trackball_longtap ff_trackball_tap  parent_000  parent_001  parent_002  parent_003  parent_004  parent_005  parent_006  parent_007  parent_008  parent_009  parent_010  parent_011  parent_012  parent_013  parent_014  parent_015  parent_016  parent_017  parent_018\r\n# 11              11                  1    7632    (642, 828, 801, 876)         721                 721         852                 852      android.widget.TextView        False                               android.widget.TextView{2886955 V.ED..... ........ 0,142-159,190 #7f080062 app:id/app_name_three}                False              801                642              876                828       11     True       True        False        loc: 11         2886955        42494293        48                48        app:id/app_name_three         True             False   7f080062  2131230818           42              False               False            False            False                False                      False               False             False        id/app_name_three                    False                  False             V      159              159      801               159        642                   0      876               190        828                 142  x: 721 y: 852 t:1  x: 721 y: 852  x: 721 y: 852 t:1  x: 721 y: 852   x: 721 y: 852 t:1   x: 721 y: 852   x: 721 y: 852 t:1   x: 721 y: 852  x: 721 y: 852 t:1  x: 721 y: 852  x: 721 y: 852 t:1  x: 721 y: 852  x: 721 y: 852          x: 721 y: 852 t:1          x: 721 y: 852   x: 721 y: 852 t:1   x: 721 y: 852      x: 721 y: 852 t:1      x: 721 y: 852    x: 721 y: 852 t:1    x: 721 y: 852          39          30          28          26          24           6           5           4           3           2           0           1        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e\r\n# 12              12                  1   10000    (830, 720, 930, 820)         880                 880         770                 770   android.widget.FrameLayout        False                            android.widget.FrameLayout{ef66c5b V.E...... ......ID 29,34-129,134 #7f080057 app:id/app_image_four}                False              930                830              820                720       11    False       True        False        loc: 12         ef66c5b       251030619       100               100        app:id/app_image_four         True             False   7f080057  2131230807           44              False                True            False            False                 True                      False               False             False        id/app_image_four                    False                  False             V      100              100      930               129        830                  29      820               134        720                  34  x: 880 y: 770 t:1  x: 880 y: 770  x: 880 y: 770 t:1  x: 880 y: 770   x: 880 y: 770 t:1   x: 880 y: 770   x: 880 y: 770 t:1   x: 880 y: 770  x: 880 y: 770 t:1  x: 880 y: 770  x: 880 y: 770 t:1  x: 880 y: 770  x: 880 y: 770          x: 880 y: 770 t:1          x: 880 y: 770   x: 880 y: 770 t:1   x: 880 y: 770      x: 880 y: 770 t:1      x: 880 y: 770    x: 880 y: 770 t:1    x: 880 y: 770          43          30          28          26          24           6           5           4           3           2           0           1        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e\r\n# 13              13                  1    7632    (801, 828, 960, 876)         880                 880         852                 852      android.widget.TextView        False                                android.widget.TextView{bb345d1 V.ED..... ........ 0,142-159,190 #7f08005f app:id/app_name_four}                False              960                801              876                828       11     True       True        False        loc: 13         bb345d1       196298193        48                48         app:id/app_name_four         True             False   7f08005f  2131230815           46              False               False            False            False                False                      False               False             False         id/app_name_four                    False                  False             V      159              159      960               159        801                   0      876               190        828                 142  x: 880 y: 852 t:1  x: 880 y: 852  x: 880 y: 852 t:1  x: 880 y: 852   x: 880 y: 852 t:1   x: 880 y: 852   x: 880 y: 852 t:1   x: 880 y: 852  x: 880 y: 852 t:1  x: 880 y: 852  x: 880 y: 852 t:1  x: 880 y: 852  x: 880 y: 852          x: 880 y: 852 t:1          x: 880 y: 852   x: 880 y: 852 t:1   x: 880 y: 852      x: 880 y: 852 t:1      x: 880 y: 852    x: 880 y: 852 t:1    x: 880 y: 852          43          30          28          26          24           6           5           4           3           2           0           1        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e\r\n# 14              14                  1   10000   (989, 720, 1089, 820)        1039                1039         770                 770   android.widget.FrameLayout        False                            android.widget.FrameLayout{8a57337 V.E...... ......ID 29,34-129,134 #7f080056 app:id/app_image_five}                False             1089                989              820                720       11    False       True        False        loc: 14         8a57337       145060663       100               100        app:id/app_image_five         True             False   7f080056  2131230806           48              False                True            False            False                 True                      False               False             False        id/app_image_five                    False                  False             V      100              100     1089               129        989                  29      820               134        720                  34  x:1039 y: 770 t:1  x:1039 y: 770  x:1039 y: 770 t:1  x:1039 y: 770   x:1039 y: 770 t:1   x:1039 y: 770   x:1039 y: 770 t:1   x:1039 y: 770  x:1039 y: 770 t:1  x:1039 y: 770  x:1039 y: 770 t:1  x:1039 y: 770  x:1039 y: 770          x:1039 y: 770 t:1          x:1039 y: 770   x:1039 y: 770 t:1   x:1039 y: 770      x:1039 y: 770 t:1      x:1039 y: 770    x:1039 y: 770 t:1    x:1039 y: 770          47          30          28          26          24           6           5           4           3           2           0           1        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e\r\n# 15              15                  1    7584   (960, 828, 1118, 876)        1039                1039         852                 852      android.widget.TextView        False                                android.widget.TextView{dd56e0d V.ED..... ........ 0,142-158,190 #7f08005e app:id/app_name_five}                False             1118                960              876                828       11     True       True        False        loc: 15         dd56e0d       232091149        48                48         app:id/app_name_five         True             False   7f08005e  2131230814           50              False               False            False            False                False                      False               False             False         id/app_name_five                    False                  False             V      158              158     1118               158        960                   0      876               190        828                 142  x:1039 y: 852 t:1  x:1039 y: 852  x:1039 y: 852 t:1  x:1039 y: 852   x:1039 y: 852 t:1   x:1039 y: 852   x:1039 y: 852 t:1   x:1039 y: 852  x:1039 y: 852 t:1  x:1039 y: 852  x:1039 y: 852 t:1  x:1039 y: 852  x:1039 y: 852          x:1039 y: 852 t:1          x:1039 y: 852   x:1039 y: 852 t:1   x:1039 y: 852      x:1039 y: 852 t:1      x:1039 y: 852    x:1039 y: 852 t:1    x:1039 y: 852          47          30          28          26          24           6           5           4           3           2           0           1        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e\r\n# 16              16                  1   10000  (1147, 720, 1247, 820)        1197                1197         770                 770   android.widget.FrameLayout        False                             android.widget.FrameLayout{2d40bd3 V.E...... ......ID 29,34-129,134 #7f080059 app:id/app_image_six}                False             1247               1147              820                720       11    False       True        False        loc: 16         2d40bd3        47451091       100               100         app:id/app_image_six         True             False   7f080059  2131230809           52              False                True            False            False                 True                      False               False             False         id/app_image_six                    False                  False             V      100              100     1247               129       1147                  29      820               134        720                  34  x:1197 y: 770 t:1  x:1197 y: 770  x:1197 y: 770 t:1  x:1197 y: 770   x:1197 y: 770 t:1   x:1197 y: 770   x:1197 y: 770 t:1   x:1197 y: 770  x:1197 y: 770 t:1  x:1197 y: 770  x:1197 y: 770 t:1  x:1197 y: 770  x:1197 y: 770          x:1197 y: 770 t:1          x:1197 y: 770   x:1197 y: 770 t:1   x:1197 y: 770      x:1197 y: 770 t:1      x:1197 y: 770    x:1197 y: 770 t:1    x:1197 y: 770          51          30          28          26          24           6           5           4           3           2           0           1        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e\r\n# 17              17                  1    7584  (1118, 828, 1276, 876)        1197                1197         852                 852      android.widget.TextView        False                                 android.widget.TextView{d77de09 V.ED..... ........ 0,142-158,190 #7f080061 app:id/app_name_six}                False             1276               1118              876                828       11     True       True        False        loc: 17         d77de09       225959433        48                48          app:id/app_name_six         True             False   7f080061  2131230817           54              False               False            False            False                False                      False               False             False          id/app_name_six                    False                  False             V      158              158     1276               158       1118                   0      876               190        828                 142  x:1197 y: 852 t:1  x:1197 y: 852  x:1197 y: 852 t:1  x:1197 y: 852   x:1197 y: 852 t:1   x:1197 y: 852   x:1197 y: 852 t:1   x:1197 y: 852  x:1197 y: 852 t:1  x:1197 y: 852  x:1197 y: 852 t:1  x:1197 y: 852  x:1197 y: 852          x:1197 y: 852 t:1          x:1197 y: 852   x:1197 y: 852 t:1   x:1197 y: 852      x:1197 y: 852 t:1      x:1197 y: 852    x:1197 y: 852 t:1    x:1197 y: 852          51          30          28          26          24           6           5           4           3           2           0           1        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e\r\n# 18              18                  1   30210    (324, 686, 483, 876)         403                 403         781                 781  android.widget.LinearLayout         True                        android.widget.LinearLayout{d7ec186 VFE...C.. .......D 66,0-225,190 #7f080050 app:id/appOneLinearLayout}                False              483                324              876                686       10    False       True         True        loc: 18         d7ec186       226410886       190               190    app:id/appOneLinearLayout         True             False   7f080050  2131230800           31              False                True            False            False                False                      False               False             False    id/appOneLinearLayout                    False                  False             V      159              159      483               225        324                  66      876               190        686                   0  x: 403 y: 781 t:1  x: 403 y: 781  x: 403 y: 781 t:1  x: 403 y: 781   x: 403 y: 781 t:1   x: 403 y: 781   x: 403 y: 781 t:1   x: 403 y: 781  x: 403 y: 781 t:1  x: 403 y: 781  x: 403 y: 781 t:1  x: 403 y: 781  x: 403 y: 781          x: 403 y: 781 t:1          x: 403 y: 781   x: 403 y: 781 t:1   x: 403 y: 781      x: 403 y: 781 t:1      x: 403 y: 781    x: 403 y: 781 t:1    x: 403 y: 781          30          28          26          24           6           5           4           3           2           0           1           1        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e\r\n# 19              19                  1   30210    (483, 686, 642, 876)         562                 562         781                 781  android.widget.LinearLayout         True                       android.widget.LinearLayout{af57012 VFE...C.. .......D 225,0-384,190 #7f080053 app:id/appTwoLinearLayout}                False              642                483              876                686       10    False       True         True        loc: 19         af57012       183857170       190               190    app:id/appTwoLinearLayout         True             False   7f080053  2131230803           35              False                True            False            False                False                      False               False             False    id/appTwoLinearLayout                    False                  False             V      159              159      642               384        483                 225      876               190        686                   0  x: 562 y: 781 t:1  x: 562 y: 781  x: 562 y: 781 t:1  x: 562 y: 781   x: 562 y: 781 t:1   x: 562 y: 781   x: 562 y: 781 t:1   x: 562 y: 781  x: 562 y: 781 t:1  x: 562 y: 781  x: 562 y: 781 t:1  x: 562 y: 781  x: 562 y: 781          x: 562 y: 781 t:1          x: 562 y: 781   x: 562 y: 781 t:1   x: 562 y: 781      x: 562 y: 781 t:1      x: 562 y: 781    x: 562 y: 781 t:1    x: 562 y: 781          30          28          26          24           6           5           4           3           2           0           1           1        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e\r\n# 20              20                  1   30210    (642, 686, 801, 876)         721                 721         781                 781  android.widget.LinearLayout         True                     android.widget.LinearLayout{fb67b5e VFE...C.. .......D 384,0-543,190 #7f080052 app:id/appThreeLinearLayout}                False              801                642              876                686       10    False       True         True        loc: 20         fb67b5e       263617374       190               190  app:id/appThreeLinearLayout         True             False   7f080052  2131230802           39              False                True            False            False                False                      False               False             False  id/appThreeLinearLayout                    False                  False             V      159              159      801               543        642                 384      876               190        686                   0  x: 721 y: 781 t:1  x: 721 y: 781  x: 721 y: 781 t:1  x: 721 y: 781   x: 721 y: 781 t:1   x: 721 y: 781   x: 721 y: 781 t:1   x: 721 y: 781  x: 721 y: 781 t:1  x: 721 y: 781  x: 721 y: 781 t:1  x: 721 y: 781  x: 721 y: 781          x: 721 y: 781 t:1          x: 721 y: 781   x: 721 y: 781 t:1   x: 721 y: 781      x: 721 y: 781 t:1      x: 721 y: 781    x: 721 y: 781 t:1    x: 721 y: 781          30          28          26          24           6           5           4           3           2           0           1           1        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e        \u003cNA\u003e\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansalemaos%2Fadbactivityautolite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansalemaos%2Fadbactivityautolite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansalemaos%2Fadbactivityautolite/lists"}