Question: =+While this application is not visually exciting, it does illustrate some important ways to pass data between activities. First, you can use the putExtra() method
=+While this application is not visually exciting, it does illustrate some important ways to pass data between activities.
First, you can use the putExtra() method of an Intent object to add a name/value pair:
//---use putExtra() to add new name/value pairs---
i.putExtra("str1", "This is a string");
i.putExtra("age1", 25);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
