View Single Post
Old 03-10-2009, 07:53 PM   #3 (permalink)
icess
New Member
 
Join Date: Feb 2009
Model: 8320
PIN: N/A
Carrier: china mobile
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

only after onObscured() method called(some screen, dialog or open the menu will cause this method be called), the onExposed() method has being called.

right now I use this:

Code:
protected void onDisplay() {
		super.onDisplay();
		getApplication().invokeLater(new Runnable() {

			public void run() {
				Dialog.alert("on dispaly method called!");
				
			}
			
		});
	}
looks like, after the screen displayed , the alert is showing.
Offline   Reply With Quote