-1

I'm working on an alarm app. The activity will open at the time of the alarm and the user will ask the math question. If the user answers the question correctly, the activity will close. But I don't want the activity to turn off if he can't answer. How do I prevent it from closing Activity? Thanks everyone.

New contributor
Muhammed Çelik is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

closed as off-topic by Nicolas Raoul Jan 13 at 0:52

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.