Application Not Responding (ANR) dialog

by Meryl Silverburgh » Tue, 28 Apr 2009 13:15:54 GMT


Sponsored Links
 In the follow blog, it talks about Application Not Responding (ANR) dialog

 http://developer.android.com/guide/practices/design/responsiveness.html 

Can you please tell me where in the code which pop up this Application
Not Responding (ANR) dialog? Or how can I adjust the timer for this
dialog so that it won't pop up during debugging?

Thank you.

--~--~---------~--~----~------------~-------~--~----~



Application Not Responding (ANR) dialog

by Meryl Silverburgh » Tue, 28 Apr 2009 13:24:57 GMT


 In the follow blog, it talks about Application Not Responding (ANR) dialog

 http://developer.android.com/guide/practices/design/responsiveness.html 

Can you please tell me where in the code which pop up this Application
Not Responding (ANR) dialog? Or how can I adjust the timer for this
dialog so that it won't pop up during debugging?

Thank you.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Application Not Responding (ANR) dialog

by Mike Hearn » Tue, 28 Apr 2009 18:49:31 GMT


 You can't adjust the timeout. If the ANR dialog gets in the way when
your app is suspended during a breakpoint, that's probably a bug in
the Android SDK framework. If it "pops up" generically when your
program is running normally and you just want it to go away, you can't
do that - you have to make your app more responsive.

On Apr 28, 7:24am, Meryl Silverburgh <silverburgh.me...@gmail.com>


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Creating complex queries for SQLite

Hi! I'm using the Android's media library intensively, and I was
asking myself whether it is possible or not to query the database more
freely than using the ContentProvider class. Would it be possible to
query directly the database that is stored in the filesystem (/data/
data/com.android.providers.media/databases/internal.db)? For instance,
I may need to create queries with subqueries and using various sqlite
commands. Is this possible?
Thanks!

-- 

2. Eclipse never sees AVDs anymore

I recently upgraded to Helios and installed the latest and greatest
SDK, ADT, and everything else I could think of.  Eclipse no longer
sees the AVDs when launching (debugging) the app.  I tried deleting
all my old AVDs and making new ones, but it's just hopeless, nothing
fixes the problem.  It simply can't see the AVDs.

I've set my run configuration target to manual (instead of
automatic).  When I attempt to run or debug my app, I get the dialog
with two sections, one on top of devices and one below for AVDs.  The
top section shows my phone plugged in my USB and I can run on the
phone just fine, but the lower section (Launch a new Android Virtual
Device) doesn't list anything.  I can easily verify that the AVDs
exist by going WindowMenu->AndroidSDKAndAVDManager.  It shows my AVDs
with green checkmarks.  If I launch an AVD from that dialog, I can
then run on it, but it appears in the top section of the launch
dialog, with the "devices" (with my phone), the lower portion for AVDs
remains empty.

It's frustrating to have to manually launch the AVD now.  I certainly
did not have to do this before.  I'm running Eclipse Helios, with ADT
8.0.1.v201012061207-82219.

Any ideas?

-- 

3. Android : Why NUMBER_KEY return the number in reverse order

4. Gingerbread vs Froyo

5. How to handle the GPS properly through multiple activities ?

6. Problem with AnimationDrawable

7. mms video streaming