Hacker News new | past | comments | ask | show | jobs | submit login

How do you differentiate an apps crash from an OS forceful kill?

Both would show a last good status and no good exit.




Presumably you would have an error log in the crash circumstance, unless it was very seriously broken.


App crash leaves a crash dump generally. Also, if your app crashes too often on some oems, the phone will automatically clear the local data, to "fix" it. I forget which one did it or I'd shame them directly.


You can detect which model of phone the app is running on, right? On these problematic models you should probably just assume that the app got killed in that circumstance.


Yes, but that's not a detection or even an inference, it's a loose assumption.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: