Mobile Developer Question:
Download Questions 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);

Download Mobile Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Define Android application Content Providers components?Define AVD?