I am currently working on a android application which generates the input fields dynamically based on schema provided by the php server in json format. I know how to create fields dynamically in android.
I would like get some suggestions for json schema format, because there are number of input types say EditText, Spinner, RadioGroup, RadioButton, CheckBox, DatePicker, TimePicker, Camera Image, User Signature, etc. They may have default values, Spinners have multiple values, DatePicker and TimePicker have max and min restrictions, EditText input types may differ say number, decimal, text, multiline etc.,
Some suggestions on the json schema would be more helpful because am not much into json and it should also be easy to parse in android.