An Android app typically consists of more than one activity that need to pass data between each other. For example a primary activity with a list of elements and a corresponding secondary activity to show the details of these elements. To move from one activity to another you use the intent
class to connect them together. This lets you launch an activity and optionally return later (If you're new to intents there's a good resource in the Google dev docs that explains the process)
[author_more]
Part of the process is sending data between activities and you do that via the putExtra
and getExtra
methods of our intent
object. The idea is to make the process of passing different types of data easy as:
Continue reading %Transfer Data between Activities with Android Parcelable%