Create mainactivity.java

A simple Java file that does a counter addition and a subtraction