c# - Displaying a dialog on unhandled exception -
i want able display dialog when xamarin android application crashes. 'sorry application has crashed. send error report developer?".
i've hooked thread.defaultuncaughtexceptionhandler calls uncaughtexception when exception caught.
when exception caught try start new activity display dialog - dialog created blank dialog title shown. oncreate never called , dialog seems hang.
if call code display dialog when application running displays , runs correctly doesn't seem wrong dialog code.
anyone know how solve problem?
currently there no supported , recommended way catch , identify unhandled exception in xamarin.android. hope gonna fix asap.
see http://mono-for-android.1047100.n5.nabble.com/catch-all-the-exceptions-td5165993.html
see jonathan pryor-2 post.
Comments
Post a Comment