As it is for test purposes (because you do not yet have a database), you can create a Singleton when you start the application. This object stores static information, which means that you can access from anywhere in the application.
public class SingletonUsuario {
private static SingletonUsuario instance = null;
private static Usuario usuario = null;
public static SingletonUsuario getInstance() {
if (instance == null) {
usuario = new Usuario();
return instance = new SingletonUsuario();
} else {
return instance;
}
}
public void setUsuario(Usuario usuario) {
SingletonUsuario.usuario = usuario;
}
public Usuario getUsuario() {
return SingletonUsuario.usuario;
}
}
To use it, just call:
Usuario u = new Usuario();
u.setNome("Joãozinho");
SingletonUsuário.getInstance.setUsuario(u);
To get the information from anywhere in the application
txtView.setText(SingletonUsuario.getInstance.getUsuario.getNome); // retorna a string nome
In this way, in any activity your user will be "saved" in the ram and will not disappear until the application is closed.