Code Android Login Form - Amazing Indonesia

Latest

Thursday 5 January 2012

Code Android Login Form

Login using the android form, display the username and password through the activity eat itlayout to design a form with file extension *. xml, for Android code in the file extension * java


screen shoot project login form :




note*
username : develop
password : code
if(name.getText().toString().equals("develop")&& word.getText().toString().equals("code"))
{
new AlertDialog.Builder(this)
.setTitle("Confirm").setMessage("Welcome" + name.getText())
.setNeutralButton("close",new DialogInterface.OnClickListener() {

@Override
public void onClick(DialogInterface dialog, int which) {
// TODO Auto-generated method stub
intt.putExtra("user",name.getText().toString());
intt.putExtra("pass",word.getText().toString());
startActivity(intt);
}






Download Code LoginAndroidProject.zip

No comments:

Post a Comment