I would like to know if there is a way in Android so that the application generates a more detailed error report in case of failure.
I am starting Android development, so I haven’t published anything on the market yet, but I read some documentation, including this blog post, about bug reports. My conclusion is similar to the fact that error reports are almost simple stack traces, and although the user has the ability to attach system logs, they are only analyzed by Google and not by the application developer. I would like to know if I can connect the application log to the error report. For example, when my software parses an HTML page to capture strings, I would like to attach the full HTML text along with any parsing error that may appear (suppose the website modifies some tags ... and suppose the site is located on a private network, it’s hard for me to constantly monitor page changes).
In general, starting with this example, I would like to read the debug log to help me better understand the circumstances that caused the error.
Is it possible? And How? I'm not sure if the Android Log class is useful even after deployment.
source
share