I want to wait until the android mobile phone has started and the MediaScanner is done.
Afterwards I want to perform an action using adb.
adb wait-for-device will finish much before the boot sequence of the cell phone is done.
How to capture e.g. BOOT_COMPLETE Broadcast via ADB? Something like: wait-for-boot-complete. I don know whether this is possible?