Dialog from a View when app is back on foreground
| Thu, 2006-05-18 15:57 | |
|
Hi
On UIQ (P900): I work with Views. What I want to do is : when application gets back to foreground , to open a simple dialog (with main view in the background ofcourse) , and that when the user closes the dialog , the main view will be with focus and menu enabled. Do you know how to do this ? I tried to do RunDlgLD from HandleForegroundEventL and from ViewActivatedL , but the "best" that happend is that the dialog appeared , but when closed , the main view is not with focus and app is stuck. Please give me some tips about how to handle this (what should be done in HandleForegroundEventL and in ViewActivatedL ? anything else maybe?) Thank you |
|






Forum posts: 27
I'd like to describe my problem more specific. My application is binded with a phone call. When my application is in the foreground, user press "exit" button to exit both the application and the call. If the phone number of the remote didn't exist in the local contact. After the end of the call, there will be a dialog "Add to contact?" popped up.
If this dialog popped up when the application was exiting, I guess the HandleForegroundEventL() will be invoked. In that case, system will stuck. Stuck means system won't response to any operation.
Taking you forward.