Initial release: Claude Pro usage widget for Android

This commit is contained in:
2026-05-22 15:11:56 +00:00
commit 33ac02ead4
639 changed files with 52708 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Start the emulator headless (no window) — run this first, then use deploy.sh
export ANDROID_HOME=~/android-sdk
export PATH="$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools:$PATH"
echo "Starting emulator (headless)..."
emulator -avd claude_test -no-window -no-audio -no-snapshot -gpu swiftshader_indirect &
EMU_PID=$!
echo "Emulator PID: $EMU_PID"
echo "Waiting for device to be ready..."
adb wait-for-device
adb shell getprop sys.boot_completed | grep -q 1 || \
timeout 120 bash -c 'until adb shell getprop sys.boot_completed 2>/dev/null | grep -q 1; do sleep 3; done'
echo "Emulator ready!"