Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Barcode and QR code Scanning through Camera is not Working in Samsung Tab2 and Samsung Tab3

$
0
0

Hi, I developed small titanium android application to scan bar code and QR code. I can scan through all device except Samsung Tab2 and Samsung Tab3 Below i uploaded my code Application type: Mobile Sdk Version : 8.1 OS : MAC X

var titaniumBarcode = require('com.mwaysolutions.barcode');

var window = Ti.UI.createWindow({ backgroundColor:'white' }); //var label = Ti.UI.createLabel(); //window.add(label); window.open();

titaniumBarcode.scan({ success:function(data) { alert("success"); alert("data =>"+data); if(data && data.barcode) { alert("Barcode =>"+data.barcode); } else { alert(JSON.stringify(data)); } }, error:function(err) { alert("Error!! " + err); }, cancel:function() { alert("cancel"); } });

i have added com.mywaysolution.barcode module


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>