Im gonna develope a Android app wich i have done few times before, but the trick now is that i need to access a database (not sqllite in the device). And we have done a website before that has all the functions that i need. So my thought was to use that website (MVC3) to get information from the database, and send information to the database from the App.
Do you guys have some ideas for me how to code that? What i need is to recieve data from the website to the App with Json or Gson i guess, then i need to post up some data to the controllers from the App, dont know if i need to use url parameters or if i can use Jsom that way aswell?
Im gonna develope a Android app wich i have done few times before, but
Share
To send a json object in the ASP.NET Controller like:
{“name”:”foo”,”age”:5}
The code of the Controller could be something like:
EDIT:
On the Android side, here it is the method to send the request and receive the response: