Here are my tables from SQLite :
Table1 - QUIZ
quiz_id
quiz_name
quiz_dateofcreation
quiz_key
Table2 - QUESTION
question_id
question_name
question_type (it could be S_answer or MCQ_answer)
quiz_id_fk
Table3 - S_ANSWER (standard answer)
s_answer_id
s_answer_name
question_id_fk
Table4 - MCQ_ANSWER (multiple choice answer)
mcq_answer_id
mcq_answer_name
mcq_answer_type (it could be correct or wrong)
question_id_fk
I want to send data to server for one QUIZ .Example when user click on send quiz data ,it wil be sended. DB on server is similiar, additional table for user.
First problem for me is SQL statement to get all data per QUIZ...
Second problem for me is best way to send data, i suppose first data retrieved with sql convert to JSON like Convert SQLite to JSON and then send them with help android volley class If there is best way .. please let me now...