I have an Android code that contains 2 spinners and a TimePickerDialog. A user can select any option from each of the spinners and then set a Time. I want to store the option selected by a user and the time set in a remote database via a web service. My database would be in SQL.
How can I do this ?
Thanks
The best solution you should try is to create JSON and post it to your WebService.
For creating JSON, you need to use JSONObject, JSONArray classes.
For example:
and now make a web call with this obj value.