views:

61

answers:

1

Hi,

I am Having 8 Screenns.I have prepared 8 Activities for that. In First Activity I have given this code To Switch from Ist Activity to IInd On Image Button gives On Click

public void onClick(View v) { 
Intent myIntent = new Intent(v.getContext(), Activity2.class);
     v.getContext().startActivity(myIntent);
});
What to do to Switch on 2nd Activity to 3rd Activity , 3rd Activity to 4th Activity , and so on.

Pls help me in regard.

A: 

hi, let's try to use the code snippet from below url and go through flags from developer guide.

http://stackoverflow.com/questions/3750776/android-how-can-i-initialise-state-in-one-activity-then-have-another-refresh-th/3751190#3751190

MGS