Re: [android-developers] Re: Can we delay the ANR dialog

2010-12-22 Thread Dianne Hackborn
Possibly. Contributions welcome, too. :) On Wed, Dec 22, 2010 at 4:34 PM, Bob Kerns wrote: > Indeed. Could we have a way to speed it up, for testing purposes, > please? It'd be a good companion for StrictMode, or perhaps a policy > within StrictMode? > > > On Dec 21, 9:52 pm, Dianne Hackborn w

[android-developers] Re: Can we delay the ANR dialog

2010-12-22 Thread Bob Kerns
Indeed. Could we have a way to speed it up, for testing purposes, please? It'd be a good companion for StrictMode, or perhaps a policy within StrictMode? On Dec 21, 9:52 pm, Dianne Hackborn wrote: > Absolutely not.  The ANR dialog is shown well after the app has caused > enough delay to be notic

[android-developers] Re: Can we delay the ANR dialog

2010-12-21 Thread rukiman
I would say no! You should do any long process in a thread and not on the main UI thread. On Dec 22, 4:18 pm, ankit wrote: > Hi, > > Is there any way by which we can increase the response waiting time > in  the source code so that the ANR dialog get delayed for more than 5 > seconds... > > Immedi