I am working on an application where I need to go to the next Screen form the Main Actvity when I Click on the Image Button of the Main Activity Screen.
I had searched a bit on Net regarding this and found something like the OnClickListener method. I am still stuck for what exactly I want to do actually.
Can anyone please tell me how to do the same.
Thanks, david
yourButton.setOnClickListener(){
public void onCLick(View v){
Intent i=new Intent(
YouCurrentClass.this,
NameOfJaveInWhichYouWantToMove.class);
startActivity(i);
}
};