On Mon, Aug 2, 2010 at 5:44 PM, tomei.ninge...@gmail.com <
tomei.ninge...@gmail.com> wrote:

> I could wait a little time after going in BG, and then clear cache.
> But what if the app gets killed before my timer expires?
>

The alarm manager would allow you to wake up.


> I can't clear cache immediately on going to BG, or else the app
> performance will suck.
> Is there a solution to this dilemma?
>

Your requirement is not something I've seen an app need before (not even the
browser), and you aren't giving any information about what is driving this,
so it is hard to give much help.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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 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