<?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 Storing locally data retrieved from web in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Storing-locally-data-retrieved-from-web/m-p/1111800#M72607</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I would like to build a simple news app with Intel XDK. I use jQuery function " .load" to retrieve data from a web page. But&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;the matter is to store data in the mobile phone, so that it will still appear even when there is no connection. C&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;ould someone help me to do so?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 20 May 2017 14:37:38 GMT</pubDate>
    <dc:creator>Peter_S_</dc:creator>
    <dc:date>2017-05-20T14:37:38Z</dc:date>
    <item>
      <title>Storing locally data retrieved from web</title>
      <link>https://community.intel.com/t5/Software-Archive/Storing-locally-data-retrieved-from-web/m-p/1111800#M72607</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I would like to build a simple news app with Intel XDK. I use jQuery function " .load" to retrieve data from a web page. But&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;the matter is to store data in the mobile phone, so that it will still appear even when there is no connection. C&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;ould someone help me to do so?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2017 14:37:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Storing-locally-data-retrieved-from-web/m-p/1111800#M72607</guid>
      <dc:creator>Peter_S_</dc:creator>
      <dc:date>2017-05-20T14:37:38Z</dc:date>
    </item>
    <item>
      <title>There are a variety of</title>
      <link>https://community.intel.com/t5/Software-Archive/Storing-locally-data-retrieved-from-web/m-p/1111801#M72608</link>
      <description>&lt;P&gt;There are a variety of options. I would checkout the options in &lt;A href="https://www.google.com/search?q=cordova+local+storage+options&amp;amp;ie=utf-8&amp;amp;oe=utf-8"&gt;this google search&lt;/A&gt;, in particular, this article may be of value &amp;gt; &lt;A href="https://www.joshmorony.com/a-summary-of-local-storage-options-for-phonegap-applications/" target="_blank"&gt;https://www.joshmorony.com/a-summary-of-local-storage-options-for-phonegap-applications/&lt;/A&gt; &amp;lt; written by a developer who is very well acquainted with Cordova.&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 01:12:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Storing-locally-data-retrieved-from-web/m-p/1111801#M72608</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-05-21T01:12:28Z</dc:date>
    </item>
    <item>
      <title>Hi Peter. There are quite a</title>
      <link>https://community.intel.com/t5/Software-Archive/Storing-locally-data-retrieved-from-web/m-p/1111802#M72609</link>
      <description>&lt;P&gt;Hi Peter. There are quite a few options for storing data in HTML5 apps and Cordova apps. This link may be helpful.&amp;nbsp;https://cordova.apache.org/docs/en/latest/cordova/storage/storage.html&lt;/P&gt;

&lt;P&gt;The method you end up choosing depends on the format you want to store your data in and the size of the data you want to store.&lt;/P&gt;

&lt;P&gt;The solution that works on most devices/platforms without plugins is LocalStorage but has some size restrictions and the format of the data is restricted to text (or json). WebSQL and IndexedDB may not work on all the devices you are targeting but gives you some more flexibility on what you can store and how much. You may get the most luck and cross platform support from using the File Plugin in your Cordova build settings &lt;A href="https://github.com/apache/cordova-plugin-file/blob/master/README.md" target="_blank"&gt;https://github.com/apache/cordova-plugin-file/blob/master/README.md&lt;/A&gt; I belevie the File plugin is one of the default options that you can just select as a checkbox in the settings of your build. You will not be able to test a plugin based version well until you build the app for your phone but it should give you the best option for storage.&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 01:30:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Storing-locally-data-retrieved-from-web/m-p/1111802#M72609</guid>
      <dc:creator>David_S_15</dc:creator>
      <dc:date>2017-05-21T01:30:35Z</dc:date>
    </item>
    <item>
      <title>Hi Paul, Hi David. Thank you</title>
      <link>https://community.intel.com/t5/Software-Archive/Storing-locally-data-retrieved-from-web/m-p/1111803#M72610</link>
      <description>&lt;P&gt;Hi Paul, Hi David. Thank you for your answers, and I apologize for taking too long to answer.&amp;nbsp;After reading your answers and doing some additional research, I retained the plugin intel.xdk.cache and the plugin cordova-file. I would like to know what differentiates them and which would you advise me?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 22:39:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Storing-locally-data-retrieved-from-web/m-p/1111803#M72610</guid>
      <dc:creator>Peter_S_</dc:creator>
      <dc:date>2017-06-08T22:39:54Z</dc:date>
    </item>
    <item>
      <title>I recommend you find an</title>
      <link>https://community.intel.com/t5/Software-Archive/Storing-locally-data-retrieved-from-web/m-p/1111804#M72611</link>
      <description>&lt;P&gt;I recommend you find an alternative to intel.xdk.cache (see the suggestions made by David in his post). That plugin is no longer maintained and many of those old xdk plugins have trouble with newer versions of Android and/or Cordova.&lt;/P&gt;

&lt;P&gt;The plugin-cordova-file is a core Cordova plugin, so it is regularly updated and maintained by the Cordova project.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 01:01:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Storing-locally-data-retrieved-from-web/m-p/1111804#M72611</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-06-09T01:01:38Z</dc:date>
    </item>
    <item>
      <title>Thank you for your advise.</title>
      <link>https://community.intel.com/t5/Software-Archive/Storing-locally-data-retrieved-from-web/m-p/1111805#M72612</link>
      <description>&lt;P&gt;Thank you for your advise.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 12:17:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Storing-locally-data-retrieved-from-web/m-p/1111805#M72612</guid>
      <dc:creator>Peter_S_</dc:creator>
      <dc:date>2017-06-14T12:17:09Z</dc:date>
    </item>
  </channel>
</rss>

