You could have coded this over nine hours ago if you used the AI2 Help Menu. Read this
found by using the AI2 Help > Library and reading the articles. The required information is in the article or you could have used the Forum search box and might have gotten lucky. Perhaps this example will work for you?

This is the simplistic way to find restaurants using the ActivityStarter. The example contains no error control. Be sure to wait for the GPS to get a satellite fix or do the hard coded version with your latitude and longitude or the example will fail. The device must be connected to the Internet using WIFI or network.

you can find other things too by substituting restaurants with hospital, grocery store etc.
Regards,