How to call another activity in android?

Answer Posted / maanya

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an Intent in Android?

568


How do I get google play on my android phone?

470


What is after android pie?

460


What is a singleton class in android?

508


What is src file in android?

559






Define android toast.

515


What is api level, codename of android 5.0 – 5.1?

547


What are intents?

504


State the importance of xml- based layouts?

478


Described the components of android?

493


Explain me scenario in which only ondestroy is called for an activity without onpause() and onstop()?

440


What is array variable?

466


What is the services component of android?

500


Define fragment in android?

496


What is the difference between service and intentservice?

507