I’m developing a game and when the game is playing the volume control is not working. Can anyone give me the solution?
It is in AndEngine
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.
I found the solution. Where the keycodes are handled return false and volume will start working. I was handling back button and returning true in all cases there. So what I did was that I returned true only when keypressed is back else return false and my problem solved.