Android: Switch into another activity

To switch into another activity, the method we use is startActivity().

This is what starts another Android activity:

Replace NameOfActivity with the name of any activity you’d like to switch into.

Related Posts

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *