Im working on android since last 7-8 months.. so i have good understanding on android concepts. Also i worked on HttpClient..
But what my question is.. If i want to post the data to the server which format i have to prefer?? is it in XML or in JSON?? Where the REST web services come into the picture while sending from client to server?? On May 24, 8:38 pm, Frank Weiss <[email protected]> wrote: > I was assuming that you have already used HttpClient for a client-server > application and that HttpClient is apparently available on Android. As for > JSON, there's already a lot of info on the web, if you just bother to search > for it. > > If you want to learn Android programming please try out the tutorials at > developer.android.com. > > > > On Mon, May 24, 2010 at 7:20 AM, santha <[email protected]> wrote: > > Hi Ted, > > > Thanks for the reply.. Currently im working on android applications > > development..In this my requirement is to send the data from the > > client application to server.. In so many blogs i read that it is > > better to send in the JSON format.. > > > But on the server it should have capable of reading the data..Could u > > please tell me where i can get the clear picture of client-server > > communication through an example source code?? > > > If u have any samples regarding this please let me know... > > > Thanks in advance.. > > uday > > > On May 24, 11:17 am, "Ted Neward" <[email protected]> wrote: > > > That's kind of a "REST 101" sort of question and not constrained to > > Android > > > in any way. Your best bet is to find a simple REST tutorial on the web > > > someplace and build a simple REST client and server. After that, read up > > on > > > the HTTP protocol itself so you understand the details. > > > > Ted Neward > > > Java, .NET, XML Services > > > Consulting, Teaching, Speaking, Writinghttp://www.tedneward.com > > > > > -----Original Message----- > > > > From: [email protected] [mailto:android- > > > > [email protected]] On Behalf Of santha > > > > Sent: Sunday, May 23, 2010 7:19 PM > > > > To: Android Developers > > > > Subject: [android-developers] Client server setup in android > > > > > Hi Guys, > > > > > I'm new to android application development.. I want to transfer the > > > > data between the client and the server.. As of my knowledge for > > > > transferring the data from client to server we use HttpClient > > > > protocol.. > > > > > Is this protocol is same as REST web services?? > > > > > If i want to send the data in the form of JSON format,then what are > > > > the necessary steps that i need to follow?? > > > > > And on the server side what are the steps to receive and parse the > > > > data?? > > > > > Could any one please respond me.. > > > > > Thanks in advance > > > > > Uday Kiran > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Android Developers" group. > > > > To post to this group, send email to android- > > > > [email protected] > > > > To unsubscribe from this group, send email to > > > > [email protected]<android-developers%[email protected]> > > > > For more options, visit this group at > > > >http://groups.google.com/group/android-developers?hl=en > > > > -- > > > 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]<android-developers%[email protected]> > > > For more options, visit this group athttp:// > > groups.google.com/group/android-developers?hl=en > > > -- > > 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]<android-developers%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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

