<?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 Hello Matt, in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/deviceready-has-not-fired-after-5-seconds/m-p/1005410#M31933</link>
    <description>&lt;P&gt;Hello Matt,&lt;/P&gt;

&lt;P&gt;Which device are you trying this on? Are you using App Preview or Built app? Did you start your project using template? If so which template?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Swati&lt;/P&gt;</description>
    <pubDate>Thu, 02 Apr 2015 01:30:18 GMT</pubDate>
    <dc:creator>Swati_S_Intel1</dc:creator>
    <dc:date>2015-04-02T01:30:18Z</dc:date>
    <item>
      <title>deviceready has not fired after 5 seconds.</title>
      <link>https://community.intel.com/t5/Software-Archive/deviceready-has-not-fired-after-5-seconds/m-p/1005409#M31932</link>
      <description>&lt;P&gt;Seems to be a new issue since upgrading to 1878.&lt;/P&gt;

&lt;P&gt;I have this code.&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;    var str ;
    
    
   if( window.Cordova)
   {
       console.log('yes cordova');
       console.log(dev.isDeviceReady);
   }

    if( window.Cordova &amp;amp;&amp;amp; dev.isDeviceReady.c_cordova_ready__ ) {
        
            str = "Cordova device ready detected at " + dev.isDeviceReady.c_cordova_ready__ + " milliseconds!" ;
        go(str);
    }
    else if( window.intel &amp;amp;&amp;amp; intel.xdk &amp;amp;&amp;amp; dev.isDeviceReady.d_xdk_ready______ ) {
            str = "Intel XDK device ready detected at " + dev.isDeviceReady.d_xdk_ready______ + " milliseconds!" ;
        go(str);
    }
    else {
        str = "Bad device ready, or none available because we're running in a browser." ;
        //go();
    }
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Cordova is recognised but when I print&amp;nbsp;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;dev.isDeviceReady to console I get&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;&lt;SPAN style="font-weight: 700;"&gt;c_cordova_ready__&lt;/SPAN&gt; and &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 13.0080003738403px; line-height: 19.5120010375977px; font-weight: 700;"&gt;d_xdk_ready______ &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;are false.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I also get&amp;nbsp;&lt;STRONG&gt;deviceready has not fired after 5 seconds. &amp;nbsp;&lt;/STRONG&gt;and&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;Bad device ready, or none available because we're running in a browser.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 21:28:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/deviceready-has-not-fired-after-5-seconds/m-p/1005409#M31932</guid>
      <dc:creator>Matt_B_</dc:creator>
      <dc:date>2015-04-01T21:28:44Z</dc:date>
    </item>
    <item>
      <title>Hello Matt,</title>
      <link>https://community.intel.com/t5/Software-Archive/deviceready-has-not-fired-after-5-seconds/m-p/1005410#M31933</link>
      <description>&lt;P&gt;Hello Matt,&lt;/P&gt;

&lt;P&gt;Which device are you trying this on? Are you using App Preview or Built app? Did you start your project using template? If so which template?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Swati&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 01:30:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/deviceready-has-not-fired-after-5-seconds/m-p/1005410#M31933</guid>
      <dc:creator>Swati_S_Intel1</dc:creator>
      <dc:date>2015-04-02T01:30:18Z</dc:date>
    </item>
    <item>
      <title>Hi Im debugging on the device</title>
      <link>https://community.intel.com/t5/Software-Archive/deviceready-has-not-fired-after-5-seconds/m-p/1005411#M31934</link>
      <description>&lt;P&gt;Hi Im debugging on the device (using a built version of android - not legacy, not crosswalk). Im not really using a template but I did borrow some code basically I use some of the init-app.js code. I have also included these scripts at the bottom of my index.html page.&lt;/P&gt;

&lt;P&gt;&amp;lt;script src="cordova.js" id="xdkJScordova_"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;lt;script src="js/init-app.js"&amp;gt;&amp;lt;/script&amp;gt; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;lt;script src="xdk/init-dev.js"&amp;gt;&amp;lt;/script&amp;gt;&amp;nbsp;&lt;BR /&gt;
	&amp;lt;script src="http://debug-software.intel.com/target/target-script-min.js#somestuffhere"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 15:10:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/deviceready-has-not-fired-after-5-seconds/m-p/1005411#M31934</guid>
      <dc:creator>Matt_B_</dc:creator>
      <dc:date>2015-04-02T15:10:00Z</dc:date>
    </item>
    <item>
      <title>Just to add to this - when I</title>
      <link>https://community.intel.com/t5/Software-Archive/deviceready-has-not-fired-after-5-seconds/m-p/1005412#M31935</link>
      <description>&lt;P&gt;Just to add to this - when I debug using App Preview - all the device ready xdk.ready events fire like normal. Unfortunately facebook and other third party plugins are not supported so I can't go far down this route. Back on device as built apps and they fail.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 15:39:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/deviceready-has-not-fired-after-5-seconds/m-p/1005412#M31935</guid>
      <dc:creator>Matt_B_</dc:creator>
      <dc:date>2015-04-02T15:39:08Z</dc:date>
    </item>
  </channel>
</rss>

