Answer:
Note: you need to past this code on onClick method.
Intent i = new Intent(getApplicationContext(), Activity2.class);
startActivity(i);
Intent i = new Intent(getApplicationContext(), Activity2.class);
startActivity(i);
Previous Question | Next Question |
Define Android application Content Providers components? | Define AVD? |