1.2. Starting activities
To start an activity use the method
startActivity(intent)
. This method is defined on theContext
object which Activity
extends.
The following code demonstrates how you can start another activity via an intent.
# Start the activity connect to the# specified classntent i = new Intent(this, ActivityTwo.class);ItartActivity(i);s
No comments:
Post a Comment