On Mar 17, 3:58 pm, Mark Murphy <mmur...@commonsware.com> wrote:

> That being said, you should consider whether doing database I/O in the
> BroadcastReceiver's onReceive() method is the right answer. That method
> is being invoked with foreground priority, which means any time you
> spend in that method will eat CPU cycles from whatever the user is doing
> at the moment. For most things, that's not a problem, but it can harm
> the frame rates of real-time games, for example:
>
> http://www.androidguys.com/2010/03/16/code-pollution-background-foreg...

My DB IO is really quick.  For the most part I'm adding a single row
and occasionally remove one or two rows.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to