to the previous activity. Some complained that they often navigate out
of the application by pressing back button. I think it would be nice
to customers if they can be warned.
Thanks for your suggestion.
How do think the approach I used?
On Apr 27, 2:43 pm, Nicholas Albion <nalb...@gmail.com> wrote:
> My first thought was to suggest that you rethink if you really need to
> do this - maybe your app isn't going to be as important to your users
> as you may think.
>
> But then, I been frustrated in the past by games which exit in the
> middle of the game if you press too far right...
>
> Maybe you should provide an option (which you'd only ever ask once):
> "Always confirm before exiting"
>
> > I can find some posts on how to warn user when the back button is
> > pressed to 'quit' the application.
>
> > The common answer is to catch the key down event by onKeyDown, or use
> > startActivityForResult().
>
> > My approach is to restart the activity in onStop().
> > Is it a better choice?
>
> > Please help to check if there's anything inappropriate.
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment