Note that there are some explanatory texts on larger screens.

plurals
  1. POIs quitting an application frowned upon?
    primarykey
    data
    text
    <p>Moving on in my attempt to learn Android, I just <a href="http://groups.google.com/group/android-developers/browse_thread/thread/1bf0f7a4a9c62edd/a0a4aedf21ae5f76" rel="noreferrer">read the following</a>:</p> <blockquote> <p>Question: <i>Does the user have a choice to kill the application unless we put a menu option in to kill it? If no such option exists, how does the user terminate the application? </i></p> <p>Answer: (Romain Guy): <i>The user doesn't, the system handles this automatically. That's what the activity lifecycle (especially onPause/onStop/onDestroy) is for. No matter what you do, do not put a "quit" or "exit" application button. It is useless with Android's application model. This is also contrary to how core applications work. </i></p> </blockquote> <p>Hehe, for every step I take in the Android world I run into some sort of problem =(</p> <p>Apparently, you cannot quit an application in Android (but the Android system can very well totally destroy your app whenever it feels like it). What's up with that? I am starting to think that it's impossible to write an app that functions as a "normal app" - that the user can quit the app when he/she decides to do so. That is not something that should be relied upon the OS to do.</p> <p>The application I am trying to create is not an application for the Android Market. It is not an application for "wide use" by the general public, it is a business app that is going to be used in a very narrow business field.</p> <p>I was actually really looking forward to developing for the Android platform, since it addresses a lot of issues that exist in Windows Mobile and .NET. However, the last week has been somewhat of a turnoff for me... I hope I don't have to abandon Android, but it doesn't look very good right now =(</p> <p>Is there a way for me to <b>really</b> quit the application?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload