I am new to Android development. I want to create a wrapper in my Android game so that after a certain level the game will lock. The user will then have to send an SMS to unlock that level and able to play it.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try to create an own broadcast wich is send after starting each level.
Then u could catch this broadcast (check conditions) and set a global variable to “lock” or “unlock”.
(Otherwise u can just use simple SharedPreferences to save the lastest (un)lock-state wich u check before every level…)