Thursday, January 22, 2015

GLOBAL NOTE EXAMPLE



//changes in loc file
#define qtn_global_note_example_text "GLOBAL NOTE"
//add this line in .rss file
RESOURCE TBUF r_global_note_example
{
 buf = qtn_global_note_example_text;
}
HBufC* text = StringLoader::LoadLC(R_GLOBAL_NOTE_EXAMPLE);
CAknGlobalNote* globalInfoNote = CAknGlobalNote::NewLC();
globalInfoNote->ShowNoteL(EAknGlobalInformationNote,*text);
CleanupStack::PopAndDestroy( globalInfoNote );
CleanupStack::PopAndDestroy( text );

0 comments:

Post a Comment