<?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 Error when trying to debug in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Error-when-trying-to-debug/m-p/1092949#M65936</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;I'm trying to debug my application on Android device, but I'm getting the following error,&amp;nbsp;&lt;BR /&gt;
	I search the web, but didn't find any leads on this.&amp;nbsp;&lt;BR /&gt;
	&lt;BR /&gt;
	my app is very simple, I have only index.html file that look similar to this&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;&amp;lt;script type="application/javascript"&amp;gt;
        document.addEventListener('deviceready', onDeviceReady);
        function onDeviceReady() {
            StatusBar.overlaysWebView(false);
            StatusBar.styleDefault();
&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;            cordova.plugins.backgroundMode.enable();&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt; 
&amp;nbsp;           window.location = "https://****.com/";
&amp;nbsp;       &lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;}
&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot_20160301-111315.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/8548iA350F8F0D34E0941/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot_20160301-111315.png" alt="Screenshot_20160301-111315.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2016 09:36:43 GMT</pubDate>
    <dc:creator>Tzelon_M_</dc:creator>
    <dc:date>2016-03-01T09:36:43Z</dc:date>
    <item>
      <title>Error when trying to debug</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-when-trying-to-debug/m-p/1092949#M65936</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;I'm trying to debug my application on Android device, but I'm getting the following error,&amp;nbsp;&lt;BR /&gt;
	I search the web, but didn't find any leads on this.&amp;nbsp;&lt;BR /&gt;
	&lt;BR /&gt;
	my app is very simple, I have only index.html file that look similar to this&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;&amp;lt;script type="application/javascript"&amp;gt;
        document.addEventListener('deviceready', onDeviceReady);
        function onDeviceReady() {
            StatusBar.overlaysWebView(false);
            StatusBar.styleDefault();
&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;            cordova.plugins.backgroundMode.enable();&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt; 
&amp;nbsp;           window.location = "https://****.com/";
&amp;nbsp;       &lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;}
&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot_20160301-111315.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/8548iA350F8F0D34E0941/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot_20160301-111315.png" alt="Screenshot_20160301-111315.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 09:36:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-when-trying-to-debug/m-p/1092949#M65936</guid>
      <dc:creator>Tzelon_M_</dc:creator>
      <dc:date>2016-03-01T09:36:43Z</dc:date>
    </item>
    <item>
      <title>Try using the Debug tab, it</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-when-trying-to-debug/m-p/1092950#M65937</link>
      <description>&lt;P&gt;Try using the Debug tab, it will give you a better view of what a real app would do. It looks like you are trying to do this inside of App Preview (using the test tab).&lt;/P&gt;

&lt;P&gt;BTW -- loading a web page as your "app" is generally frowned upon by most end users, it results in lots of low ratings and is typically rejected by the Apple iOS store. Your app should be a standalone entity that does not require network access to start the UI, if your user's device does not have a network connection, or that network connection is bad, the app you've created will appear to have hung when it does the window.load() operation. In the case of a Cordova app you are using HTML5 to create a client-only application, you are not creating a web site.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 21:37:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-when-trying-to-debug/m-p/1092950#M65937</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-03-01T21:37:24Z</dc:date>
    </item>
  </channel>
</rss>

