I have an asp.net MVC 2.0 application. I also have a WFC service, if I want to go that route. but I am not particularly fond of parsing xml in Java. (I haven’t worked in Java in about 7 years). This is my first time using eclipse, so please explain things to me like the android/java noob that I am.
After some research I think I would like to use my MVC site as a restful service to pass json back and forth between the android and the server. I know how to pass Json out of the controller:
public ActionResult SomeActionMethod()
{
return Json(new {foo="bar", hello="World"});
}
How do I go about connecting to the service and then translating the json into objects within my android application?
At the high-leve use HttpClient to get data from the RESTful Service and use JSONObject to parse the response. When you get some code together and if you get stuck we can help you some more