public void registerUser(View view) {
    Intent nextScreen = new Intent(getApplicationContext(), VerifyUserActivity.class);
    String username =
        ((EditText) findViewById(io.selendroid.testapp.R.id.inputUsername)).getText().toString();
    String email =
        ((EditText) findViewById(io.selendroid.testapp.R.id.inputEmail)).getText().toString();
    String password =
        ((EditText) findViewById(io.selendroid.testapp.R.id.inputPassword)).getText().toString();
    String name =
        ((EditText) findViewById(io.selendroid.testapp.R.id.inputName)).getText().toString();
    boolean acceptAdds =
        ((CheckBox) findViewById(io.selendroid.testapp.R.id.input_adds)).isChecked();
    String preferedProgrammingLanguge =
        ((Spinner) findViewById(io.selendroid.testapp.R.id.input_preferedProgrammingLanguage))
            .getSelectedItem().toString();

    User user = new User(username, password);
    user.setEmail(email);
    user.setName(name);
    user.setAcceptAdds(acceptAdds);
    user.setPreferedProgrammingLanguge(preferedProgrammingLanguge);

    nextScreen.putExtra("user", user);
    startActivity(nextScreen);
  }
Demo project to verify NativeAndroidDriver actions.

@author ddary
selendroid-test-app/src/main/java/io/selendroid/testapp/RegisterUserActivity.java