i am doing an application based on alarm manager, i have to set multiple time picker in CUSTOM DIALOG BOX ,
i just created custom dialog box and dynamically displaying multiple buttons using spinner .
i am getting an error at
protected Dialog onCreateDialog(int id) {
switch (id) {
case TIME_DIALOG_ID:
return new TimePickerDialog(this, timeListener, hours, min,
false);
}
return null;
}
}
error is at (int id) Syntax error on token ")", ; expected
i am enable to solve this and sugest me to do multple time pickers.