Hi,
i wonder what's wrong with this part of the code,,please it's couldn't
be executed , the button in which is done is still static.
Peace,
Gaara
final Thread checkUpdate = new Thread() {
public void run() {
EditText name = (EditText) findViewById(R.id.userName);
EditText firstname = (EditText)
findViewById(R.id.userFirstName);
EditText mail = (EditText) findViewById(R.id.userMail);
EditText phone = (EditText) findViewById(R.id.userPhone);
User u = new User();
u.setFirstname(firstname.getText().toString());
u.setLastname(name.getText().toString());
u.setMail(mail.getText().toString());
u.setPhone(phone.getText().toString());
final UserController uc = new UserController();
try {
uc.create(u);
} catch (Exception e) {
return;
final Intent intent = new Intent(AddUserActivity.this,
GaeHomeScreen.class);
startActivity(intent);
}
};
checkUpdate.start();
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en