Please note that the OP certainly didn't want to actually stop the UI
thread, just wanted to block the user
workflow. Since that's a valid and common use case (as users hardly ever perform multiple
parallel interactions with their gadgets, and systems commonly need to
wait for them), it's natural to expect some trivial modal dialog API seamlessly matching the "single-threaded user" reality. It's understandable if it's not easy to do nicely. But if the Android team could come up with a smart way to make it as trivial as illustrated in the question, it could only help us all. Thx! –
Sz. Jan 12 at 13:12