<?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 Please use the Cordova in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/QR-Code-Reader-Unable-to-work-with-Android-4-4/m-p/1017392#M36735</link>
    <description>&lt;P&gt;Please use the Cordova equivalent. See this thread:&amp;nbsp;https://forums.html5dev-software.intel.com/viewtopic.php?f=26&amp;amp;t=7552&lt;/P&gt;</description>
    <pubDate>Tue, 09 Dec 2014 16:34:32 GMT</pubDate>
    <dc:creator>PaulF_IntelCorp</dc:creator>
    <dc:date>2014-12-09T16:34:32Z</dc:date>
    <item>
      <title>QR Code Reader Unable to work with Android 4.4</title>
      <link>https://community.intel.com/t5/Software-Archive/QR-Code-Reader-Unable-to-work-with-Android-4-4/m-p/1017391#M36734</link>
      <description>&lt;P&gt;I am having a problem. My Code works fine in the emulator but I am unable to run it on my phone.&lt;/P&gt;

&lt;P&gt;I am just trying to setup a basic QR code reader. Here is the code&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:xml;"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;title&amp;gt;Blank Hybrid App Project Template&amp;lt;/title&amp;gt;
    &amp;lt;meta http-equiv="Content-type" content="text/html; charset=utf-8"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"&amp;gt;

    &amp;lt;style&amp;gt;
        @-ms-viewport { width: 100vw ; zoom: 100% ; }                           
        @viewport { width: 100vw ; zoom: 100% ; }
        @-ms-viewport { user-zoom: fixed ; }                                    
        @viewport { user-zoom: fixed ; }
    &amp;lt;/style&amp;gt;

    &amp;lt;script src="lib/ft/fastclick.js"&amp;gt;&amp;lt;/script&amp;gt;

    &amp;lt;link rel="stylesheet" href="css/app.css"&amp;gt;
&amp;lt;/head&amp;gt;


&amp;lt;body&amp;gt;
    &amp;lt;button onclick="scanNow();"&amp;gt;Scan&amp;lt;/button&amp;gt;
        
    &amp;lt;script src="intelxdk.js"&amp;gt;&amp;lt;/script&amp;gt;         
    &amp;lt;script src="cordova.js"&amp;gt;&amp;lt;/script&amp;gt;          
    &amp;lt;script src="xhr.js"&amp;gt;&amp;lt;/script&amp;gt;              

    &amp;lt;script src="js/app.js"&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;script src="js/init-app.js"&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;script src="js/init-dev.js"&amp;gt;&amp;lt;/script&amp;gt;

    &amp;lt;script&amp;gt;
        
        function scanNow()
        {
            //this function launches the QR Code scanner.
            intel.xdk.device.scanBarcode();
        }
        
        //this event is fired when scanning is completed
        document.addEventListener("intel.xdk.device.barcode.scan",function(evt){
            if (evt.success == true) {
                //successful scan
                
                alert(evt.codedata);
            }
            else 
            {
                //failed scan
                alert("Please try again");
            }
        },false);
    &amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2014 16:19:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/QR-Code-Reader-Unable-to-work-with-Android-4-4/m-p/1017391#M36734</guid>
      <dc:creator>Alexander__M_</dc:creator>
      <dc:date>2014-12-09T16:19:18Z</dc:date>
    </item>
    <item>
      <title>Please use the Cordova</title>
      <link>https://community.intel.com/t5/Software-Archive/QR-Code-Reader-Unable-to-work-with-Android-4-4/m-p/1017392#M36735</link>
      <description>&lt;P&gt;Please use the Cordova equivalent. See this thread:&amp;nbsp;https://forums.html5dev-software.intel.com/viewtopic.php?f=26&amp;amp;t=7552&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2014 16:34:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/QR-Code-Reader-Unable-to-work-with-Android-4-4/m-p/1017392#M36735</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2014-12-09T16:34:32Z</dc:date>
    </item>
  </channel>
</rss>

