Beruflich Dokumente
Kultur Dokumente
4. From the Palette window drag and drop two Number fields and position them according to your
choice on the layout
9. Now drag and drop a button from the palette window and change the text to “Add”
EditText e1 = (EditText)findViewById(R.id.editText)
EditText e2 = (EditText)findViewById(R.id.editText2)
TextView t1 = (TextView)findViewById(R.id.textView)
t1.setText(Integer.toString(sum));
16. Save your program and run it in your emulator to see the functioning of the app