Page 1 of 2

How about a QR Code generator?

Posted: Mon Aug 26, 2013 9:15 pm
by Adam Young

How about a QR Code generator?


How about a QR Code generator?

Posted: Mon Aug 26, 2013 9:16 pm
by maxkatz

How about a QR Code generator?

Posted: Mon Aug 26, 2013 9:17 pm
by maxkatz

I think there are services on the Internet that allow you to generate a QR code.


How about a QR Code generator?

Posted: Mon Aug 26, 2013 9:34 pm
by Adam Young

There's the now "depreciated" Google Chart Infographics API.

Or a handful of jquery based projects.


How about a QR Code generator?

Posted: Wed Aug 28, 2013 6:27 pm
by James6186945

I typically just use qrzilla.com - it at least does all the customization I need from a QR generator.


How about a QR Code generator?

Posted: Sat Nov 09, 2013 6:32 pm
by Ted6306214

This worked for me on the Load event:
code
Appery('htmlQR')&#46;html('<img src="http:&#47;&#47;chart&#46;apis&#46;google&#46;com&#47;chart?cht=qr&chs=200x200&chl=' + localStorage&#46;getItem('name') + '&chld=H|0"&#47;>');
/code


How about a QR Code generator?

Posted: Mon Jan 06, 2014 1:57 am
by Michael2210441

Will this work to generate? I can't figure out how to adapt it for appery.io, but if I got the js right, would I only have to have the service available to the page and then call this on load?

edit... DON'T TRY THIS... SKIP TO NEXT REPLY FOR SOLUTION

pre
cordova&#46;plugins&#46;barcodeScanner&#46;encode(BarcodeScanner&#46;Encode&#46;TEXT_TYPE, "http:&#47;&#47;www&#46;nytimes&#46;com", function(success) {
alert("encode success: " + success);
}, function(fail) {
alert("encoding failed: " + fail);
}
);
/pre


How about a QR Code generator?

Posted: Mon Jan 06, 2014 1:43 pm
by Kateryna Grynko

Hi,

You can try this QR code generator: http://larsjung.de/qrcode/
Add JS file with library and use it as it's described.


How about a QR Code generator?

Posted: Mon Jan 06, 2014 3:46 pm
by Michael2210441

Hi Katya, thanks for the quick reply.

Maybe I am doing something wrong because I have the plugin and library added and it works in the online tester, but not on my two test devices, both Android.

I'm pretty much using their settings, any suggestions?

pre
var qrc = localStorage&#46;getItem("savedEmail");
$('#qrcode-s')&#46;qrcode(
{
&#47;&#47; render method: ''canvas'', ''image'' or ''div''
render: 'canvas',

&#47;&#47; version range somewhere in 1 &#46;&#46; 40
minVersion: 1,
maxVersion: 40,

&#47;&#47; error correction level: ''L'', ''M'', ''Q'' or ''H''
ecLevel: 'H',

&#47;&#47; offset in pixel if drawn onto existing canvas
left: 0,
top: 0,

&#47;&#47; size in pixel
size: 128,

&#47;&#47; code color or image element
fill: '#000',

&#47;&#47; background color or image element, 'null' for transparent background
background: null,

&#47;&#47; content
text: qrc,

&#47;&#47; corner radius relative to module width: 0&#46;0 &#46;&#46; 0&#46;5
radius: 0,

&#47;&#47; quiet zone in modules
quiet: 0,

&#47;&#47; modes
&#47;&#47; 0: normal
&#47;&#47; 1: label strip
&#47;&#47; 2: label box
&#47;&#47; 3: image strip
&#47;&#47; 4: image box
mode: 0,

mSize: 0&#46;1,
mPosX: 0&#46;5,
mPosY: 0&#46;5,

label: 'no label',
fontname: 'sans',
fontcolor: '#000',

image: null
}
);
/pre


How about a QR Code generator?

Posted: Mon Jan 06, 2014 4:10 pm
by Michael2210441

Never mind, the problem is not with the plugin or settings, but my local variable was not set for the user I was testing, so no data to encode.

Thank you very much, this saved me HUGE!