In onActivityResult() why do we have a intent as parameter ?
If it was the case of sending data from one activity to another ,can't data be sent via bundle ?
Help me !!
The document says,
An Intent provides a facility for performing late runtime binding between the code in different applications. Its most significant use is in the launching of activities, where it can be thought of as the glue between activities. It is basically a passive data structure holding an abstract description of an action to be performed.
Intent is used in Activity
's transition.
For example, Intent
is used when calling Activity_B from Activity_A.
Also, it is used when returning from B to A. That's all.