How to search in google app through activity starter

I am making an app and i want to search a text in google by opening google app through activity starter. So, i want to get to know the activity package,class and extra key in order to search google.

Launch a Web search

To launch a Web search for a particular query, such as “Homer Simpson”, use an activity starter with these properties:

Action: android.intent.action.WEB_SEARCH
ExtraKey: query
ExtraValue: Homer Simpson

Open the browser to a Web page

Use these activity starter properties to open a specific web page:

Action: android.intent.action.VIEW