Password protect launch of android application
<p>I'm searching for a way to password protect my android application on launch, i.e. when launching/resuming an activity belonging to my apk-package a password dialog will be shown.</p>

<p>I've tried some approaches to this (extending <a href="http://developer.android.com/reference/android/app/Application.html">application class</a> and so on) but none seems to work. Either they don't run on the UI thread or the dialog isn't shown on every launch/resume occasion.</p>

<p>// m</p>
