It works all fine untilI changed some class names and file names.
StepL() and IsProcessDone() work fine, but DialogDismissedL() never be called.
This happens just after I changed some names. How strange it is! Anyone can help?
It works all fine untilI changed some class names and file names.
StepL() and IsProcessDone() work fine, but DialogDismissedL() never be called.
This happens just after I changed some names. How strange it is! Anyone can help?
And what were those precise changes that you made? If the dialogdismissedl is not getting called, is your dialog hanging around or what? How are you trying to close the dialog
Cheers,
Mayank
Well, after I consult the SDK documentation,
I reset the aVisibilityDelayOff to EFalse, and it works !IMPORT_C TBool CAknWaitNoteWrapper::ExecuteL ( TInt aResId,
MAknBackgroundProcess & aBackgroundProcess,
TBool aVisibilityDelayOff = EFalse,
const CAknNoteDialog::TTone & aTone = CAknNoteDialog::ENoTone
)
And I find this:
aVisibilityDelayOff If set ETrue the dialog will be visible immediality. Use only when the length of the process is ALWAYS over 1.5 seconds.
Hi, mayankkedia. Can you explain what will happen if the process is not long enough and the aVisibilityDelayOff is set as ETrue ?
I am not sure what is the internal implementation details of that flag, worth investigating to set it to ETrue and then close the dialog soon enough to see what impact that has though.
Cheers,
Mayank