KillerInk / FreeDcam

FreeDcam is a CameraApp for Android >4.0(ics) wich try to enable stuff that is forgotten by the manufacturs
GNU General Public License v2.0
298 stars 44 forks source link

Add crash reporter #115

Open fabmazz opened 4 years ago

fabmazz commented 4 years ago

First of all, thanks for the amazing work the developers have undertaken.

I wanted to try the app on a couple of samsung devices, but it just kept crashing without showing anything. Since it's not possible anymore to catch the stack trace within android (without root), and I'm not near any computer, I can't point to the error.

However, if a crash reporter library could be bundled with the app, that catches the crash and is able to send all the logs, I think it would be a huge improvement. Looking at other FOSS project, there are a couple of alternatives, for example ACRA (https://github.com/ACRA/acra).

KillerInk commented 4 years ago

hi freedcam has a log/crash reporter.

create sdcard/DCIM/FreeDcam/log.txt and freedcam starts dumping its log to that file. make sure you removed freedcam from the open tasks. it check only once onCreate if the log.txt exists when done with logging, dont forget to delete log.txt. else it grows continously^^

fabmazz commented 4 years ago

Thanks for the reply! It's good to know, however I still have to open the log, scan for the crash and send it. With a crash reporter this would be automatic. I understand that it requires some work, but users are generally lazy, if the app doesn't work, most people won't create the log file, and then comb through it and send the relevant part. With a crash reporter library it would all be much easier. I'm not saying you should do it, just pointing it out.