Back to project page rsmonitor-heartrate.
The source code is released under:
GNU General Public License
If you think the Android project rsmonitor-heartrate listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.renaultsport.heartrate; //w w w . jav a 2s. co m import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class ActivityWarning extends Activity implements OnClickListener { @Override public void onCreate(Bundle bundle) { Button buttonValidate = null; super.onCreate (bundle); setContentView (R.layout.warning); buttonValidate = (Button) this.findViewById (R.id.buttonWarning); buttonValidate.setOnClickListener (this); } @Override public void onClick (View view) { startActivity (new Intent (ActivityWarning.this, ActivityMain.class)); finish (); } }