~/talk

Automating Android: Command line controls

Talkat NDC London 2021 · 2021-01-25..01-29· [android, testing]
slides:none on file

A set of bash scripts uses the Android Debug Bridge to automate repetitive device tasks: unlocking, toggling Wi‑Fi/Bluetooth/talkback, typing and tapping via adb shell input tap x y, and grabbing the screen with scrcpy. The workflow parses the expensive uiautomator dump into a fetch_ui and list_elements step, computes midpoints, and drives multiple devices or a Raspberry Pi from the talos repo. Works reliably on native and Xamarin UIs, partially on Jetpack Compose, and fails on many Flutter views; scripts are brittle but practical.

AI-written summary · about

  1. 0:00Start
  2. 2:03What I'm talking about
  3. 11:31Types of connection
  4. 13:45Create an AVD
  5. 21:22Notes on scripts
  6. 23:27On Android Layouts
  7. 25:07My scripts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.