Go back to whomever stated this awful requirement and explain: 1) why
it is a bad idea in the first place and 2) why it is an even much
worse idea in the Android environment, where the user's expectations
really are radically different from the desktop PC user's
expectations.

In particular, users will hate you with a passion if you play around
with the meaning of 'Back'. They will also hate you if you keep
causing their system to crash because you were too stubborn to follow
good design guidelines and Google recommended practices. "Exit the
app" indeed!

Mark M. is, as usual, quite right. You should leave 'exit' up to the
system. If you are concerned about protecting private data, you should
do that by wiping it yourself, so that what is left in memory is no
longer valid.

BTW: whenever I have encountered a "commerce app" with a UI like what
you describe, I write a complaint for the customer service department
and never patronize them again.

On Aug 12, 8:17 am, ndiiie90 <[email protected]> wrote:
> Hi again Mark,
>
> I must close the entire app, because my app is a commerce application,
> that has its own flow until the payment, and user can't go back to
> previous screen, so whenever user has reached the last page, there are
> options to exit the app or go back to menu again..have any idea?
>
> Thanks,
>
> Rendy
>
> On Aug 11, 7:49 pm, Mark Murphy <[email protected]> wrote:
>
> > On Wed, Aug 10, 2011 at 10:55 PM, ndiiie 90 <[email protected]> wrote:
> > > how to close entire app?
>
> > You don't, any more than you "close entire" Web app. Android will
> > terminate your process eventually, just leave it alone.
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> > _The Busy Coder's Guide to Android Development_ Version 3.6 Available!

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