Use of intEnts

I. In the main tone of activity

Startactivityforresult is used to pass parameters that need to be stored in the Bundal to be passed in the intent. Here I pass in the contents of my own array, the name and phone number of the contact, followed by the returned parameters.

The activity is being called

After the activity gets the data, it changes the text of its layout file.

Effect of three.

Click on the front:

After the click:

Returns:

4. Summary

AS activity jump is a relatively simple function, it has realized the jump of multiple programs in Android.

Five. Attached source code address :link.juejin.cn/?target=htt…