android - Activity clears all its data if a incoming call is recieved? -
i have developed application (somewhat maths quiz) in user chooses answers in 4-5 options , there around 10 questions. while answering questions if device recieves incoming phone call ,the activity gets cleared , answers ticked user cleared. updating table each time user reply question.this activity complex 1 .
how can save state of application , restart same point?
you need utilize saveinstancestate , restoreinstancestate, hold info refer answer, see how utilize this.
android phonecalls
No comments:
Post a Comment