How do I stop the media recorder and go to another activity in android? I have set setMaxduration in media recorder. How do I check if maxduration has been reached? I have to stop the media recorder and go to another activity.
Thanks
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.
You may use the onInfo listener to listen for the event and then start the other activity.
Use the following code snippet:
Hope this helps!!