/Activity

How to create a new activity and pass content.

Activity

How to create a new activity and pass content.

Instructions: Create 2 activities

Activity 1: one input box and a button. with input text and pressing button will call activity 2 with intent and data.

Activity 2: It will show the text passed from Activity 1 and a button on screen. Pressing the button will open an intent with webview to show the passed google result of the passed text.

something like: https://google.com/#q=YourTextHere