I'm in the very early stage of a little application I would like to search google for respons.

I'm currently working on the database, wich will first be integrated on a later basis.

Well. Lets say I type in: "avatar movie review"

The app will open up "http://www.google.com/#q="
and search for: "avatar movie review" - http://www.google.com/#q="avatar movie review"
This could aswel be a person, item etc.

AND output the url sources to the Console.

I just don't know what is the best way of doing this.

Psuedo code is much appreciated too