<?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 Keep app running when not the active app in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/keep-app-running-when-not-the-active-app/m-p/792458#M1084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm building an app using AppStudio/Qt Creator that continuously collects the gps location, performs some queries on a local geodatabase, and syncs the geodatabase with server. When the app is not the active app on the phone, the app pauses. When active again, it will resume where it left off. I noticed in the Console the "state" of the app changes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;qml: App State: 2 | Flag: false &amp;nbsp; &amp;nbsp; &amp;lt;---- app pauses&lt;BR /&gt;qml: App State: 0 | Flag: true &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;---- app resumes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible for the app to keep running when it is not the active app?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Nov 2016 20:57:42 GMT</pubDate>
    <dc:creator>JoshuaDonato1</dc:creator>
    <dc:date>2016-11-19T20:57:42Z</dc:date>
    <item>
      <title>Keep app running when not the active app</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/keep-app-running-when-not-the-active-app/m-p/792458#M1084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm building an app using AppStudio/Qt Creator that continuously collects the gps location, performs some queries on a local geodatabase, and syncs the geodatabase with server. When the app is not the active app on the phone, the app pauses. When active again, it will resume where it left off. I noticed in the Console the "state" of the app changes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;qml: App State: 2 | Flag: false &amp;nbsp; &amp;nbsp; &amp;lt;---- app pauses&lt;BR /&gt;qml: App State: 0 | Flag: true &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;---- app resumes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible for the app to keep running when it is not the active app?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Nov 2016 20:57:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/keep-app-running-when-not-the-active-app/m-p/792458#M1084</guid>
      <dc:creator>JoshuaDonato1</dc:creator>
      <dc:date>2016-11-19T20:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Keep app running when not the active app</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/keep-app-running-when-not-the-active-app/m-p/792459#M1085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joshua,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right about&amp;nbsp;the behavior, by default any app doesn't have the ability to run in background.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AppStudio does have&amp;nbsp;Background Location capability which supports location based tasks&amp;nbsp;when your app is in background.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Learn more on how to add this to your app&amp;nbsp;&lt;A class="link-titled" href="http://doc.arcgis.com/en/appstudio/extend-apps/capabilities.htm" title="http://doc.arcgis.com/en/appstudio/extend-apps/capabilities.htm"&gt;Capabilities—AppStudio for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Siddesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 19:59:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/keep-app-running-when-not-the-active-app/m-p/792459#M1085</guid>
      <dc:creator>SiddeshPillai1</dc:creator>
      <dc:date>2018-05-03T19:59:13Z</dc:date>
    </item>
  </channel>
</rss>

