Back to project page cellar-communicator.
The source code is released under:
GNU General Public License
If you think the Android project cellar-communicator 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.vinit.orderplacer; /*from ww w .j a va 2 s . c o m*/ import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; public class SecurityPIN extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_security_pin); Button b = (Button) findViewById(R.id.check_button); b.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { v.setEnabled(false); EditText e = (EditText) findViewById(R.id.pin_enter); CheckPin c = new CheckPin(getApplicationContext(), e.getText() .toString(), (Button) v); c.execute(); } }); } }