java - Syntax Error - Navigating Pages -
i appear getting syntax error when try build application. trying navigate 1 page appear getting 6 syntax errors. please have assistance going wrong!
package com.techblogon.loginexample; import android.app.activity; import android.content.intent; import android.os.bundle; import android.view.view; import android.widget.button; public class mainmenu extends activity { protected void oncreate(bundle setinstancestate) { super.oncreate(setinstancestate); setcontentview(r.layout.activity_main_menu); final button button = (button) findviewbyid(r.id.btnhealth); button.setonclicklistener(new view.onclicklistener() { public void onclick(view v) { intent activitychangeintent = new intent(mainmenu.this, tips.class); mainmenu.this.startactivity(activitychangeintent); } }); } }
Comments
Post a Comment