Check out URL and HttpURLConnection class for your server
communication need.
You can create a Class which handles all your server request.
Implement for eg doSomeWork() which will make server request in a
separate thread. This class should also be passed a listener which
will be notified when doSomeWork() gets result or ends in error.
In your listener implementation you can update your UI or show error
based on what you get in return.
HTH

On Mar 2, 9:31 pm, Matt Gill <[email protected]> wrote:
> Hello,
>
> I am wanting to send a http request to Google.com from my mobile
> application but am unsure how to get about asembling the request.
> Anothing problem that i might in counter is how to handle the
> information that is returned.  For example, i want to send a request
> for "local resturnats" to Google and have the results returned and
> then displayed to the user in a ListView.  Am i going about this the
> right way?  Any suggestions on how i might go about this?  Is there an
> API that i could use (GoogleMaps or AJAX Search)?
>
> Thanks for the Help.
>
> Matt G.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to