Mobile Developer Question:

How to Start Another Activity?

Tweet Share WhatsApp

Answer:

Note: you need to past this code on onClick method.

Intent i = new Intent(getApplicationContext(), Activity2.class);
startActivity(i);

Download Mobile Developer PDF Read All 52 Mobile Developer Questions
Previous QuestionNext Question
Define Android application Content Providers components?Define AVD?