olboss Posted January 31, 2011 Share Posted January 31, 2011 (edited) Bonjour, Je suis nouveau dans le développement Android, j'utilise donc la fonction finish() pour quitter mon application mais elle reste quand même quand je regarde dans task killer! Quel est la fonction pour quitter (ou killer) complètement l'application. Merci d'avance Edited February 3, 2011 by olboss Quote Link to comment Share on other sites More sharing options...
naholyr Posted January 31, 2011 Share Posted January 31, 2011 Elle n'est pas active, elle a simplement laissé des données en cache dans la RAM, mais cet espace sera libéré dès que nécessaire. finish() est la bonne méthode. Quote Link to comment Share on other sites More sharing options...
olboss Posted January 31, 2011 Author Share Posted January 31, 2011 D'accord merci, comment fait rasiez killeer alors pour la faire disparaître ? Quote Link to comment Share on other sites More sharing options...
chimarro Posted February 2, 2011 Share Posted February 2, 2011 (edited) C'est le comportement par défaut de toute application, c'est voulu par Android. Maintenant si ca t'agaces vraiment et que ton application n'a pas besoin d'être lancée plusieurs fois par jour, tu peux lire ça : http://stackoverflow.com/questions/2092951/how-to-close-android-application System.exit(0); NB: Ne pas oublier non plus de bien libérer toutes les ressources utilisées. Edited February 2, 2011 by chimarro Quote Link to comment Share on other sites More sharing options...
olboss Posted February 3, 2011 Author Share Posted February 3, 2011 Thanks, tout a été dit alors Quote Link to comment Share on other sites More sharing options...
olboss Posted February 3, 2011 Author Share Posted February 3, 2011 Thanks, tout a été dit alors Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.