<?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 Ok but the scan works or said in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007455#M32699</link>
    <description>&lt;P&gt;Ok but the scan works or said Intel is not defined&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 02 Apr 2015 23:55:50 GMT</pubDate>
    <dc:creator>Alexander_F_</dc:creator>
    <dc:date>2015-04-02T23:55:50Z</dc:date>
    <item>
      <title>intel.xdk.device.scanBarcode</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007444#M32688</link>
      <description>&lt;P&gt;Hey I need help ASAP, the device ready is event is fired on Android but not on IOS devices and when I call scanQR function works on Android but do not scan nothing, and in IOS even do not show the scan, these issues are in App Preview and Native App but in Emulator works fine, thank you in advance.&lt;/P&gt;

&lt;P&gt;here is my code&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;function onDeviceReady()&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;{&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; //get a unique device_id&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; device_id = intel.xdk.device.uuid;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; //device_id = '3B4FE075-6365-44BB-9E20-3B67887B26D4';&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; //intel.xdk.notification.alert(device_id);&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; //lock orientation&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; intel.xdk.device.setRotateOrientation("any");&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; intel.xdk.device.setAutoRotate(true);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; //manage power&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; intel.xdk.device.managePower(true,false);&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; //hide splash screen&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; intel.xdk.device.hideSplashScreen();&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; alert('Device is Ready');&lt;BR /&gt;
	}&lt;BR /&gt;
	document.addEventListener("intel.xdk.device.ready",onDeviceReady,false);&amp;nbsp;&lt;/P&gt;

&lt;P&gt;//Scan QRCode&lt;BR /&gt;
	function scanQR()&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; try {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; intel.xdk.device.scanBarcode();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (err) {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert(err.message); //This throw "Cannot read property 'scanBarcode' of undefined"&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	}&lt;/P&gt;

&lt;P&gt;document.addEventListener("intel.xdk.device.barcode.scan", function (evt) {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; beepOnce();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; if (evt.type == "intel.xdk.device.barcode.scan") {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (evt.success == true) {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var url = evt.codedata;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(url.indexOf('http') != -1 || url.indexOf('www') != -1){&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(url.indexOf('biipit') != -1){&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //get biipit data by alias&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aurl = url.split('/'); //alert(aurl[3]);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //add to history&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; get_user_by_alias(aurl[3]);&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }else{&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; window.open(url, '_blank', 'location=yes');&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }else{&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var n = noty({text:'Invalid QR Code', type:'error'});&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; scanQR();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	}, false);&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 15:38:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007444#M32688</guid>
      <dc:creator>Alexander_F_</dc:creator>
      <dc:date>2015-04-02T15:38:09Z</dc:date>
    </item>
    <item>
      <title>Can you post complete html</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007445#M32689</link>
      <description>&lt;P&gt;Can you post complete html code, not just JS?&lt;/P&gt;

&lt;P&gt;The current QRcode in iOS app preview has a bug, you get black screen instead of camera view, but the QR code scanner will work. Fix will be coming soon. Can build for iOS and test for now?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 17:12:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007445#M32689</guid>
      <dc:creator>Rakshith_K_Intel</dc:creator>
      <dc:date>2015-04-02T17:12:05Z</dc:date>
    </item>
    <item>
      <title>Here is my code, by the way</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007446#M32690</link>
      <description>&lt;P&gt;Here is my code, by the way think the App Preview for IOS has many problems, because now said that can not download my app from the cloud and I pushed the files already.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 17:18:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007446#M32690</guid>
      <dc:creator>Alexander_F_</dc:creator>
      <dc:date>2015-04-02T17:18:26Z</dc:date>
    </item>
    <item>
      <title>When I click on Scan button</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007447#M32691</link>
      <description>&lt;P&gt;When I click on Scan button on Android I get this screen but on IOS nothing, I do not understand why said intel is not defined if I make reference to intelxdk.js in my html file like&lt;/P&gt;

&lt;P&gt;&amp;lt;script src='intelxdk.js'&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;

&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 18:09:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007447#M32691</guid>
      <dc:creator>Alexander_F_</dc:creator>
      <dc:date>2015-04-02T18:09:58Z</dc:date>
    </item>
    <item>
      <title>Hey any update with this?</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007448#M32692</link>
      <description>&lt;P&gt;Hey any update with this?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 19:33:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007448#M32692</guid>
      <dc:creator>Alexander_F_</dc:creator>
      <dc:date>2015-04-02T19:33:23Z</dc:date>
    </item>
    <item>
      <title>The QRcode in current iOS app</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007449#M32693</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;The QRcode in current iOS app preview has a bug, you get black screen instead of camera view, but the QR code scanner will work. Fix will be coming soon. Can u build iOS app and test for now?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 20:40:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007449#M32693</guid>
      <dc:creator>Rakshith_K_Intel</dc:creator>
      <dc:date>2015-04-02T20:40:22Z</dc:date>
    </item>
    <item>
      <title>I understand that, no I can</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007450#M32694</link>
      <description>&lt;P&gt;I understand that, no I can not build an IOS app, but I build an Android App, and when I click on Scan I get intel is not defined, see screen shot&lt;/P&gt;

&lt;P&gt;&lt;A href="http://prntscr.com/6or0l5" target="_blank"&gt;http://prntscr.com/6or0l5&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 20:42:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007450#M32694</guid>
      <dc:creator>Alexander_F_</dc:creator>
      <dc:date>2015-04-02T20:42:56Z</dc:date>
    </item>
    <item>
      <title>Can u help me with this issue</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007451#M32695</link>
      <description>&lt;P&gt;Can u help me with this issue too, because now I can not tested my app on my Iphone&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;A href="https://software.intel.com/en-us/comment/1819829#comment-181982" target="_blank"&gt;https://software.intel.com/en-us/comment/1819829#comment-181982&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 21:03:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007451#M32695</guid>
      <dc:creator>Alexander_F_</dc:creator>
      <dc:date>2015-04-02T21:03:52Z</dc:date>
    </item>
    <item>
      <title>check the "device" plugin for</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007452#M32696</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;check the "device" plugin for intelxdk, it will work, your code worked for me in android build&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;also u dont need intelxdk.js script tag, remove it, u just need to have cordova.js script tag,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 21:15:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007452#M32696</guid>
      <dc:creator>Rakshith_K_Intel</dc:creator>
      <dc:date>2015-04-02T21:15:53Z</dc:date>
    </item>
    <item>
      <title>I am confused you create</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007453#M32697</link>
      <description>&lt;P&gt;I am confused you create Android build or Cordova Android build, by the way I have the plugging device checked on Intel XDK session, is that correct?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 22:22:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007453#M32697</guid>
      <dc:creator>Alexander_F_</dc:creator>
      <dc:date>2015-04-02T22:22:15Z</dc:date>
    </item>
    <item>
      <title>I created Cordova android</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007454#M32698</link>
      <description>&lt;P&gt;I created Cordova android build&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 23:38:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007454#M32698</guid>
      <dc:creator>Rakshith_K_Intel</dc:creator>
      <dc:date>2015-04-02T23:38:39Z</dc:date>
    </item>
    <item>
      <title>Ok but the scan works or said</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007455#M32699</link>
      <description>&lt;P&gt;Ok but the scan works or said Intel is not defined&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 23:55:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007455#M32699</guid>
      <dc:creator>Alexander_F_</dc:creator>
      <dc:date>2015-04-02T23:55:50Z</dc:date>
    </item>
    <item>
      <title>scan works, i just took your</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007456#M32700</link>
      <description>&lt;P&gt;scan works, i just took your index.html attached by you, changed intelxdk.js to cordova.js, checked "device" under intelxdk plugins, built cordova android build&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 17:03:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007456#M32700</guid>
      <dc:creator>Rakshith_K_Intel</dc:creator>
      <dc:date>2015-04-03T17:03:10Z</dc:date>
    </item>
    <item>
      <title>Perfect, thank you... can you</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007457#M32701</link>
      <description>&lt;P&gt;Perfect, thank you... can you tell me how fix the problem with the App Preview on IOS... now said that can't download the app from the cloud and I clicked on Push and Upload my Project.. I tested on Android and works but only on Android 4.x&lt;/P&gt;

&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 17:07:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007457#M32701</guid>
      <dc:creator>Alexander_F_</dc:creator>
      <dc:date>2015-04-03T17:07:27Z</dc:date>
    </item>
    <item>
      <title>Bro I am sorry to bother you</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007458#M32702</link>
      <description>&lt;P&gt;Bro I am sorry to bother you but see screen shoots please, really I am very upset with this situation and now can not test my app on IOS device because said that can not download the app from the cloud, please let me know if you can connect to my computer to help me, thank you.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 17:25:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007458#M32702</guid>
      <dc:creator>Alexander_F_</dc:creator>
      <dc:date>2015-04-03T17:25:26Z</dc:date>
    </item>
    <item>
      <title>Come on man is impossible I</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007459#M32703</link>
      <description>&lt;P&gt;Come on man is impossible I do the same steps that you said and always get intel is not defined... see the latest screen shots..&lt;/P&gt;

&lt;P&gt;thank you.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 18:14:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007459#M32703</guid>
      <dc:creator>Alexander_F_</dc:creator>
      <dc:date>2015-04-03T18:14:50Z</dc:date>
    </item>
    <item>
      <title>@Alexander, see my notes in</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007460#M32704</link>
      <description>&lt;P&gt;@Alexander, see my notes in your other post:&amp;nbsp;https://software.intel.com/en-us/forums/topic/545089#comment-1819957&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 18:44:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007460#M32704</guid>
      <dc:creator>Swati_S_Intel1</dc:creator>
      <dc:date>2015-04-03T18:44:49Z</dc:date>
    </item>
    <item>
      <title>Fellas, I will advise you to</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007461#M32705</link>
      <description>&lt;P&gt;Fellas, I will advise you to use Cordova plugin.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Apr 2015 16:29:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007461#M32705</guid>
      <dc:creator>Michael_O_</dc:creator>
      <dc:date>2015-04-04T16:29:06Z</dc:date>
    </item>
    <item>
      <title>Yes I was playing with but</title>
      <link>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007462#M32706</link>
      <description>&lt;P&gt;Yes I was playing with but always get cordova require is not a function, but I am sure that the problem is with Intel XDK for OSX that do not include the Intelxdk.js and device pluging even checked on project settings and they don't fix this problem at the moment.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Apr 2015 17:01:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/intel-xdk-device-scanBarcode/m-p/1007462#M32706</guid>
      <dc:creator>Alexander_F_</dc:creator>
      <dc:date>2015-04-04T17:01:01Z</dc:date>
    </item>
  </channel>
</rss>

