Page 54 - Electronic Mechanic - TP - Volume - 2
P. 54
ELECTRONICS MECHANIC - CITS
EditText number1, number2;
Button addButton, subtractButton, multiplyButton, divideButton;
TextView result;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// Your code here...
}
}
Result:
Thus, we become more aware of the variety of apps available and their functionalities. And we also gain a better
understanding of how to use the applications and their features.
37
CITS : E & H - Electronics Mechanic - Exercise 130