I'm creating an S60 application that will have a main dialog with a listbox of 5 or so items.
but i keep receiving a message : "application app1 closed" when trying to run the application on the emulator.
This is my resource file (app1.rss)content :
RESOURCE DIALOG r_dialog
{
flags=EAknDialogSelectionList;
buttons=R_AVKON_SOFTKEYS_OPTIONS_EXIT;
items=
{
DLG_LINE
{
id=EPowerSMSDlg1Label;
type=EAknCtSingleGraphicListBox;
control= LISTBOX
{
flags = EAknListBoxSelectionList;
array_id=array0;
};
},
DLG_LINE
{
itemflags = EEikDlgItemNonFocusing;
id = EFindControl;
type = EAknCtSelectionListFixedFind;
}
};
}
RESOURCE ARRAY array0
{
items=
{
LBUF { txt="Events Log"; }
};
}
what am I doing wrong ?