[android-developers] Re: Showing force close / report dialog

2009-09-08 Thread Dmitry.Skiba
You can use this technique: http://www.anddev.org/crashreporthandler-t6389.html In short, installing exception handler and lauching error report activity on crash. Add 'send' button and you're done. Dmitry On 9 сен, 01:16, Iroid wrote: > Hello all, > > In my current application I want to show

[android-developers] Re: Showing force close / report dialog

2009-09-08 Thread Mark Murphy
Iroid wrote: > Here is my Code : > Thread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler > () { > > > @Override > public void uncaughtException(Thread thread, Throwable > exc){ > cThread = thread; > cThrowable = exc; > runOnUiThread(new Runn

[android-developers] Re: Showing force close / report dialog

2009-09-08 Thread Iroid
Here is my Code : Thread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler () { @Override public void uncaughtException(Thread thread, Throwable exc){ cThread = thread; cThrowable = exc; runOnUiThread(new Runnable() { @Override

[android-developers] Re: Showing force close / report dialog

2009-09-08 Thread Iroid
Thanks Mark, I used handler, which did not work for me. Let me try with runOnUiThread(). On Sep 8, 3:04 pm, Mark Murphy wrote: > Iroid wrote: > > Hello all, > > > In my current application I want to show a dialog having "Force Close" > > and "Report" option at the time of Unhandled Exception.

[android-developers] Re: Showing force close / report dialog

2009-09-08 Thread Mark Murphy
Iroid wrote: > Hello all, > > In my current application I want to show a dialog having "Force Close" > and "Report" option at the time of Unhandled Exception. > > Could anyone please let me know how to have this dialog? > right now if I change defaultExceptionHandler to mine It gets control > b