put your password popup or whatever in the activate method of UiApplcation:
Code:
public class myApp extends UiApplication {
public static void main(String[] args) {
myApp instance = new myApp();
instance.enterEventDispatcher();
}
public void activate() {
//push password prompt
}
}
'Handles foregrounding event.
The system invokes this method when it brings this application to the foreground. By default, this method does nothing. Override this method to perform additional processing when being brought to the foreground.'