* Use threads safely
* use a non-static method in the java callback
Be a dialog
Background thread blocks until user inputs data.
* make it work
* and properly exit from the activity once gpg-agent has released us