Hi,

I've just recently started out with Android development, and have
progressed to the point where I have written a very basic Hello World
Jersey RESTful web service, and successfully called it from within my
Android App.

What I want to do now though, is send a new user record (just name and
password for now) to a web service in JSON format.

I can create my JSON in the Android app just fine, but I don't know
how to get it into the HTTP Request in such a way that the
corresponding web service that @Consumes JSON can get at it.

So, this is how far I've got:

1) Create Android App User object...(Tick: done that)
2) Turn that into JSON...(Tick: done that)
3) Put it on the HTTP request.....(Stuck here! Help!)
4) Call the web service...(Tick: done that)
5) Web service retrieve JSON from request...(Stuck here! Help!)
6) Parse the JSON into server side User object and deal with as I see
fit...(Don't worry people, I'll be fine with this bit, thanks!)
7) Profit! ;)

Guys and Girls, I really appreciate any help given, you dear, dear
kind souls!

Cheers,
James

-- 
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