modified: added mainactivity.java for android