Android Question Consume DialogBox with android system error

Marcos Alves

Well-Known Member
Licensed User
Longtime User
Hi all,

is there any way to consume the app eventual error messages, avoiding the Android dialog "The xxx stopped..."? (for example, if I have any crash in app it restarts silently without showing any message to user)...
 

Marcos Alves

Well-Known Member
Licensed User
Longtime User
It's always a very BAD idea not to show errors, especially crashes.

You could grab the crash report by doing THIS
Thanks! To hide minor error messages from user, sending a report to developer, is a technique that must to be considered by commercial developer as sometimes an app can continue running maintaining a fluid user experience but is interrupted by a message box telling that "something very wrong happened"... notice that many times a simple app restart could fix (sending in background the log to developer). For example, I have some apps those react to asynchronous events from server... and they are always unpredictable. Sometimes one event that should arrive after one arrives before. A data to update a field is not there... a variable is null... and then crash. BUT the program could continue. The absent data was only an image update or something else. But we have the horrible message to user, telling that the app crashes many times... and so on. Then, we could consume and hide the crash message, continue... send to developer to analyses if worths to fix. And the life goes on!
 
Upvote 0
Top