I'm trying to display some information about an incoming or outgoing call while the phone is ringing (either side), I'm monitoring the events correctly, so no problem there, but what happens at the moment is that the soft keys don't work and I can't get rid of the confirmation query.
Here is some code that I'm using:
I'm looking for two possible solutions and any help would be appreciated.
RWindowGroup &rwg= CEikonEnv::Static()->RootWin();
iGlobalConfirmationQuery = CAknGlobalConfirmationQuery::NewL();
iGlobalConfirmationQuery->ShowConfirmationQueryL(aStatus, aText, 0, 0, KNullDesC, 0, 0, CAknQueryDialog::ENoTone, EFalse);
if(aStatus.Int() == 3005)
Plan A: Fix the soft keys, the only way to get rid of the display at the moment is to end the call.
Plan B: The confirmation query isn't absolutely necessary, it implements a feature that is a mere novelty, the important part is to display the information, so something like a global information note could also be used, the problem is I don't want it to just flash and go away, there needs to be a chance for the user to actually read the information.
A problem I might have with Plan A is that the information would become too much to display, considering that I'd also be asking a question, is there a way to add more information or would the box adapt? This is obviously not the main concern, the main concern is to get it actually working.
Problem with Plan B is I can't get an information note to display longer, it flashes for less than a second and disappears.
Please advise any experts out there.