Mobile Developer Question:
Download Job Interview Questions and Answers PDF
How to Start Another Activity?
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);
Download Mobile Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Define Android application Content Providers components? | Define AVD? |