Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android: how to handle force close

Tags:

android

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?

like image 913
Tarun Tak Avatar asked Jan 23 '26 08:01

Tarun Tak


1 Answers

You can completely control/handle ForceClose Dialog ! so it doesn't show up to user.

Use ACRA - Application Crash Report for Android to collect Crash generated by app. Once you integrate it with your app, if any crash occurs user won't see FORCE CLOSE dialog, instead you can show your CUSTOM ERROR message.

It turns out to be better user experience. let me know if you need more info. Good luck :)

like image 133
Piyush Patel Avatar answered Jan 26 '26 00:01

Piyush Patel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!