Re: [android-developers] Can an Activity pause() rather than finish()?

2009-11-30 Thread Dianne Hackborn
Put these data structures in globals that you can retrieve, if they exist,
each time the activity starts.  You just need to make sure they are not
referencing the Activity or its underlying Context objects.

On Mon, Nov 30, 2009 at 11:28 AM, DulcetTone  wrote:

> I see no means by which my activity can pop itself off the activity
> stack to return the user to the one he was using before it was
> invoked.  Is there one?
>
> My purpose is that my app has some data structures built from data
> provider queries that take 5-15 seconds to assemble and I don't want a
> lot of latency if it is used in a few one-shot purposes in rapid
> succession.  I'm more than willing to let the system ask my app to
> die, but I'd like to keep warmed and ready otherwise.
>
> Thanks in advance.
>
> tone
>
> --
> 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
>



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

[android-developers] Can an Activity pause() rather than finish()?

2009-11-30 Thread DulcetTone
I see no means by which my activity can pop itself off the activity
stack to return the user to the one he was using before it was
invoked.  Is there one?

My purpose is that my app has some data structures built from data
provider queries that take 5-15 seconds to assemble and I don't want a
lot of latency if it is used in a few one-shot purposes in rapid
succession.  I'm more than willing to let the system ask my app to
die, but I'd like to keep warmed and ready otherwise.

Thanks in advance.

tone

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