0

I want to build an android quiz app with 100 questions. For every question, I have used an activity. Now I want to add a button save. When the user clicks the save button, the app must save that activity having some question. When he starts the app again and presses the resume button, the app must resume from previously saved activity, meaning from that particular question.

The AV
  • 129
  • 2
  • 16
  • Have look at this answer. I believe this is what you need http://stackoverflow.com/questions/23024831/android-shared-preferences-example – MDMalik Feb 10 '15 at 19:06
  • And what's your question? – Gabe Sechan Feb 10 '15 at 19:07
  • This site is geared to answer specific programming related questions, this question is too broad. Do you have a specific example that's not working like you want? – Noah Feb 10 '15 at 19:12
  • Use SQLite to save the questions/answers, and to load the last one. I don't think It's not a good idea to create one activity to every question. Try to create only one activity instead and load only the question text and the answers. – Laerte Feb 10 '15 at 19:21

0 Answers0