User Prompt Dialog Tutorial

This task describes how to create dialog boxes to prompt the user when the un-signed applications require network access.

The dialog creator creates the prompt with a set of response options for the user and streams it to the notifier. The notifier is used by the user interface to display the available options to be selected by the user. When an option is selected, the response is returned to the dialog creator by the notifier. The dialog creator processes the notifier response. The notifier framework is implemented by the UI creators. A reference dialog creator is located at \release\<target>\urel\lilpupsdialog.dll. The reference dialog creator can be used as a reference and customised by the licensees.
Call <api-item>CDialogCreator::PrepareDialog()</api-item> to create the prompt for the notifier.
void PrepareDialog(CPromptRequest& aRequest,CPolicy& aPolicy, RPointerArray& aFingerprints, CClientEntity* aClientEntity, TAny* aEvalPrivateData, TRequestStatus& aStatus);
CDialogCreator::PrepareDialog() formats the data to be sent to the notifier using CDialogCreator::DisplayDialog() method.
 void DisplayDialog(CPolicy::TOptions& aOptions, CFingerprint*& aFingerprint, TUint& aEvaluatorInfo, TRequestStatus& aStatus);