On Oct 9, 11:22 pm, Samuh <samuh.va...@gmail.com> wrote:
> If I am interpreting you correctly, you can do something like(pseudo
> code):
>
> //create an instance of HttpClient class
> HttpClient httpclient = new DefaultHttpClient();
>
> // Prepare a request object
> HttpGet httpget = new HttpGet(url);
>
> // Execute the request
> HttpResponse response = httpclient.execute(httpget);
>
> Read the API documentation for these classes...
>
> On Oct 9, 1:04 pm, VerSaRius <versar...@gmail.com> wrote:
>
> > I need to make my application to connect to the server.
> > And sent 3 to the server
> > like when i type inhttp://192.168.10.3/3inthe web browser
> > but i need to make a button in my app
> > and it will sent 3 to the server.
> > Pls, Help me

Reading the API documentation is always good advice, but in this case,
it is rather sparse. The tutorial on using HttpClient etc. at
http://hc.apache.org/httpclient-3.x/tutorial.html is much more
informative.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to