I am developing one Calculator app in BlackBerry 10 and for that I am using switch case to get the button ID but I don't know how to get the ID of button in switch case.
For Example:
switch(?){
case button_addition:
case button_minus:
case button_multiplication:
case button_division:
}
Where button_addition
, button_minus
, button_multiplication
and button_division
are the ID's of the buttons.
How do I get IDs of these buttons?