1. Problem Description: Android data sent by JSON format is wrong, a position opposite Time and Date
Reasons: the wrong order (possible) when JSON data assembled Android
2. Problem Description: Android incoming data can not be inserted into the database
The reason: the date format is not unified, Android came the '2019 \\ 01 \\ 12', database storage is '2019-1-12';
3. Problem description: Android incoming data can not be inserted into the database
Reasons: JSON.get () method can not directly read the char data type, will be converted into the ASCII, such as Android sent to '0', JSON will read 48
Solution:
Method a: JSON there getString method, Android can send the string "0", the server uses charAt (index) function string
Method Two: JSON using ASCII get, we will get into char ASCII character