I have created a very simple attempt that by clicking on a button with onClick()
leads to another Activity
:
public void ejecutarInfo(View view){
Intent intento = new Intent(this, InfoClass.class);
startActivity(intento);
}
Error exiting:
the onclick atribute value should be the name of a method in this
views context to invoke the view when is clicked
and it tells me that the method must have a view of what it has.
Thanks. =)