<?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 When you created the service in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/timer-refresh-on-rss-service-method/m-p/1029198#M41325</link>
    <description>&lt;P&gt;When you created the service binding you defined a function that is the call to the service. If you used that service in the Design view, then anytime that function is called, the UI will update.&lt;/P&gt;

&lt;P&gt;So, simply use setInterval (built in JS command) to call that function repeatedly. (&amp;nbsp;https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/setInterval )&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;setInterval(intel.xdk.my_service_binding, 1000 * 10); //1000 ms times 10 seconds

&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jun 2015 16:54:18 GMT</pubDate>
    <dc:creator>Chris_P_Intel</dc:creator>
    <dc:date>2015-06-08T16:54:18Z</dc:date>
    <item>
      <title>timer refresh on rss service method</title>
      <link>https://community.intel.com/t5/Software-Archive/timer-refresh-on-rss-service-method/m-p/1029197#M41324</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I'm writing a simple rss feed reader with xdk 1995.&lt;/P&gt;

&lt;P&gt;Now I have this problem: In the build installed on my phone, the feeds are not refreshed quickly.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;So I want to add a timer that force the refresh every 10 minuts... but, how can I, force the refresh to the rss service integrated in the xdk?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;regards,&lt;/P&gt;

&lt;P&gt;MaX&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2015 16:14:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/timer-refresh-on-rss-service-method/m-p/1029197#M41324</guid>
      <dc:creator>maxlinux2000</dc:creator>
      <dc:date>2015-06-06T16:14:52Z</dc:date>
    </item>
    <item>
      <title>When you created the service</title>
      <link>https://community.intel.com/t5/Software-Archive/timer-refresh-on-rss-service-method/m-p/1029198#M41325</link>
      <description>&lt;P&gt;When you created the service binding you defined a function that is the call to the service. If you used that service in the Design view, then anytime that function is called, the UI will update.&lt;/P&gt;

&lt;P&gt;So, simply use setInterval (built in JS command) to call that function repeatedly. (&amp;nbsp;https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/setInterval )&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;setInterval(intel.xdk.my_service_binding, 1000 * 10); //1000 ms times 10 seconds

&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 16:54:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/timer-refresh-on-rss-service-method/m-p/1029198#M41325</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2015-06-08T16:54:18Z</dc:date>
    </item>
  </channel>
</rss>

