In my application when the memory is low, the force close popup occurs. What I want is to handle that force close pop up in my application. How can I do this?
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.
You cannot control this popup from your own application. This is controlled by the Android OS. It is better to analyze what is causing your FCs.
If your error is caused by memory issues, you could try implementing the onLowMemory-function in your Activity. This is a callback function that will be called once the system detects it needs more memory.