Task 1. Create the TwoActivities project
1.1 Create the TwoActivities project
1.2 Define the layout for the main activity
1.3 Define the button action
Task 2. Create and launch the second activity
2.1 Create the second activity
2.2 Modify the Android manifest
2.3 Define the layout for the second activity
2.4 Add an intent to the main activity
Task 3. Send data from the main activity to the second activity
3.1 Add an EditText to the main activity layout
3.2 Add a string to the main activity’s intent extras
3.3 Add a TextView to the second activity for the message
Leave a Reply