Thanks Dianne - haven't come across the profiler yet, but I'm sure I
can find lots of info on it.

On Nov 18, 5:55 pm, Dianne Hackborn <[email protected]> wrote:
> If your app is in the foreground, it isn't put down in priority.  If it is
> in the background (not visible to the user) it is, and you would not be able
> to run much because there is something in the foreground that wants to run
> and we strongly prefer that so your background app can't impact UI
> responsiveness.
>
> I would suggest running the profiler on your app to see what it is doing.
>
>
>
> On Wed, Nov 18, 2009 at 8:11 AM, Neilz <[email protected]> wrote:
> > Hi all. Not sure how appropriate the title is, but here goes...
>
> > I have an app which within the main Activity a SensorListener is
> > setup. The listener detects changes from the accelerometer and sends
> > updates to various child views, which update the display.
>
> > When the app first start up, it's great - the graphics are smooth and
> > the sensor notifications are immediately reflected in the views. Then
> > after a few minutes it starts to stutter, making the display very
> > jerky - and for the purpose of this app quite unusable. I've done some
> > logging and the sensor updates are still being passed, but they start
> > stacking up and all get sent in batches.
>
> > It's like the system has put this app down the priority list after
> > it's been running a while. I've added some garbage collecting but it
> > only seemed to help a little. What could be happening here? How can I
> > try and keep this app at the top of the priority list?
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<android-developers%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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

Reply via email to