=+While this application is not visually exciting, it does illustrate some important ways to pass data between
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 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);
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Beginning Android Programming With Android Studio
ISBN: 9781118707425
4th Edition
Authors: Wei Meng Lee, Jerome F DiMarzio
Question Posted: