<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic I was going to suggest in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/exit-program/m-p/1065710#M56084</link>
    <description>&lt;P&gt;I was going to suggest killing the app programmatically but that is not good practice and might risk your app getting rejected by the store.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I don't think there is a way to exit the app from running in the background. Maybe you can try disabling the javascript from running when the app is in the background. Try this thread:&amp;nbsp;https://groups.google.com/forum/?fromgroups=#!topic/phonegap/8_XUXo0yOWQ&lt;/P&gt;

&lt;P&gt;It has a few suggestions.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Apr 2016 21:37:43 GMT</pubDate>
    <dc:creator>Anusha_M_Intel1</dc:creator>
    <dc:date>2016-04-05T21:37:43Z</dc:date>
    <item>
      <title>exit program</title>
      <link>https://community.intel.com/t5/Software-Archive/exit-program/m-p/1065707#M56081</link>
      <description>&lt;P&gt;i need code to exit program plz&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 01:06:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/exit-program/m-p/1065707#M56081</guid>
      <dc:creator>zeroman_z_</dc:creator>
      <dc:date>2015-11-13T01:06:01Z</dc:date>
    </item>
    <item>
      <title>See this post, I think it is</title>
      <link>https://community.intel.com/t5/Software-Archive/exit-program/m-p/1065708#M56082</link>
      <description>&lt;P&gt;See this post, I think it is what you are looking for: &lt;A href="https://software.intel.com/en-us/forums/intel-xdk/topic/593293" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-xdk/topic/593293&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 01:40:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/exit-program/m-p/1065708#M56082</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-11-13T01:40:30Z</dc:date>
    </item>
    <item>
      <title>This method will exit but the</title>
      <link>https://community.intel.com/t5/Software-Archive/exit-program/m-p/1065709#M56083</link>
      <description>&lt;P&gt;This method will exit but the App will still in background.&lt;/P&gt;

&lt;P&gt;It there any way to fully exit app even not in background?&lt;/P&gt;

&lt;P&gt;I found a reference like this.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/36129144/how-to-fully-exit-android-application-in-phonegap" target="_blank"&gt;http://stackoverflow.com/questions/36129144/how-to-fully-exit-android-application-in-phonegap&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I change the code in CoreAndroid.java but it is still in background.&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;

&lt;P&gt;Thank.&lt;/P&gt;

&lt;P&gt;Matrix&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 19:22:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/exit-program/m-p/1065709#M56083</guid>
      <dc:creator>Matrix_Lee</dc:creator>
      <dc:date>2016-04-05T19:22:00Z</dc:date>
    </item>
    <item>
      <title>I was going to suggest</title>
      <link>https://community.intel.com/t5/Software-Archive/exit-program/m-p/1065710#M56084</link>
      <description>&lt;P&gt;I was going to suggest killing the app programmatically but that is not good practice and might risk your app getting rejected by the store.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I don't think there is a way to exit the app from running in the background. Maybe you can try disabling the javascript from running when the app is in the background. Try this thread:&amp;nbsp;https://groups.google.com/forum/?fromgroups=#!topic/phonegap/8_XUXo0yOWQ&lt;/P&gt;

&lt;P&gt;It has a few suggestions.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 21:37:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/exit-program/m-p/1065710#M56084</guid>
      <dc:creator>Anusha_M_Intel1</dc:creator>
      <dc:date>2016-04-05T21:37:43Z</dc:date>
    </item>
    <item>
      <title>Thank you for replying.</title>
      <link>https://community.intel.com/t5/Software-Archive/exit-program/m-p/1065711#M56085</link>
      <description>&lt;P&gt;Thank you for replying.&lt;/P&gt;

&lt;P&gt;Yes, normally it is not.&lt;/P&gt;

&lt;P&gt;But after a lot of trying, I found the way to exit from background.&lt;BR /&gt;
	Add a window.close() can solve this problem.&lt;/P&gt;

&lt;P&gt;I made a exitAppFromBackground() function for it.&lt;BR /&gt;
	The source code as below for your further test and reference.&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;// Name: exitFromBackground()
// Author: Matrix Lee
// Function: Exit app, and remove it from the background.
function exitAppFromBackground(){
    window.close();
    if(navigator.app){
        navigator.app.exitApp();
    }else if(navigator.device){
        navigator.device.exitApp();
    }
}&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Matrix&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 23:13:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/exit-program/m-p/1065711#M56085</guid>
      <dc:creator>Matrix_Lee</dc:creator>
      <dc:date>2016-04-14T23:13:04Z</dc:date>
    </item>
    <item>
      <title>I have used this command to</title>
      <link>https://community.intel.com/t5/Software-Archive/exit-program/m-p/1065712#M56086</link>
      <description>&lt;P&gt;I have used this command to exit:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;navigator.app.exitApp();&lt;/PRE&gt;

&lt;P&gt;But... just to Android. As far as I know, Apple do not permit this. In my apps, when running under iOS, I hidden the button EXIT.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 15:08:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/exit-program/m-p/1065712#M56086</guid>
      <dc:creator>Hamilton_Tenório_da_</dc:creator>
      <dc:date>2016-04-19T15:08:41Z</dc:date>
    </item>
  </channel>
</rss>

