Initial version - exercises 2
Description

The second exercise is about activities. You can use all the documentation in slides and source code. The goal of this exercise is understand the send of parameters between activities.

We make in class an exercise that it has a main activity with some buttons. One of them button generates a transition to activity2 with startAcitivityForResult call and send the title that have to appear in activity2. When user push back key from activity2 we send a param (20) as return and show it in the main activity using a Toast.

Well, the exercise then consist in make the same with other activity (called activity3). As this way, the main activity must show a Toast saying "Come back Activity2" or "Come back Activity3".

Resources

-  Activities and send parameters

-  Life Cycle of Acitivities

Optional

 - You can try to add the source code to send an intent to open an URL or open a call phone.