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 . j a va2 s . co m import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class ActivityUpload extends Activity implements OnClickListener { private Button goButton = null; private Button connectFbButton = null; private Button forgetPasswordButton = null; private Button signUpButton = null; @Override public void onCreate (Bundle bundle) { super.onCreate (bundle); initLogin (); } @Override public void onPause () { super.onPause (); } @Override public void onClick (View view) { switch (view.getId ()) { case R.id.button_connect_FB : break; case R.id.login_forget_password : break; case R.id.signupBtn : break; case R.id.goBtn : break; default : break; } } private void initLogin () { setContentView (R.layout.login); connectFbButton = (Button) findViewById (R.id.button_connect_FB); forgetPasswordButton = (Button) findViewById (R.id.login_forget_password); signUpButton = (Button) findViewById (R.id.signupBtn); goButton = (Button) findViewById (R.id.goBtn); connectFbButton.setOnClickListener (this); forgetPasswordButton.setOnClickListener (this); signUpButton.setOnClickListener (this); goButton.setOnClickListener (this); } }