docs: add software-vision and android-backup-restore skills with android scripts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
BluscreamandClaude Opus 5.5 committed 2026-10-30 13:00:44 +01:00
1 parent a16a879b1e
commit 5e6abadb95
12 files changed
+1261 -1

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Cold-start an app's launcher activity the way Android 17 accepts from the shell. Usage: launch.sh PKG [WAIT] [SHOT.png]
p=$1 w=${2:-6} shot=${3:-}
act=$(adb shell "cmd package resolve-activity --brief -c android.intent.category.LAUNCHER $p" </dev/null | tr -d '\r' | tail -1)
adb shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -n '$act'" </dev/null >/dev/null
sleep "$w"
[ -n "$shot" ] && adb exec-out screencap -p > "$shot" </dev/null
true