Yes you are guaranteed to have onPause() called before the user is switched
to another activity.  Also onSaveInstanceState() if your activity is not
being finished.

On Fri, Oct 9, 2009 at 10:52 AM, Raman <[email protected]> wrote:

>
> I think we all are correct in our own ways...
> I think I now agree with what has been decided, and as a better
> solution I think I can save the edited stuff to some temporarily
> location and give user an option to start from where he left when next
> time my app is started again. I hope I would get callback in onPause()
> before it goes to some other Activity.
> What you guys have to say in this. I want user's as well as Google's
> perspective to come to the best solution around.
>
> Thanks
>
>
> - Raman.
> On Oct 9, 9:58 pm, Mark Murphy <[email protected]> wrote:
> > Dianne Hackborn wrote:
> > > Apps can intercept the call key to let the user press it when on a
> phone
> > > number or other thing that makes sense to perform a call on.
> >
> > Hmmmm...
> >
> > I've opened an issue on this, as I worry that apps might start eating
> > KEYCODE_CALL and confuse the heck out of users, particularly in cases of
> > needing to make an emergency call (e.g., 911). A permission
> > (android.permission.OVERRIDE_CALL_KEY, perhaps?) would at least alert
> > the user to the fact that the app is overriding the key.
> >
> > http://code.google.com/p/android/issues/detail?id=4202
> >
>


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