Adam Young
Posts: 0
Joined: Mon Aug 26, 2013 9:14 pm

How about a QR Code generator?

How about a QR Code generator?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How about a QR Code generator?

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

Adam Young
Posts: 0
Joined: Mon Aug 26, 2013 9:14 pm

How about a QR Code generator?

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

Or a handful of jquery based projects.

James6186945
Posts: 0
Joined: Wed Aug 28, 2013 6:27 pm

How about a QR Code generator?

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

Ted6306214
Posts: 0
Joined: Wed Nov 06, 2013 3:47 pm

How about a QR Code generator?

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

Michael2210441
Posts: 0
Joined: Sat Jan 04, 2014 5:42 pm

How about a QR Code generator?

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How about a QR Code generator?

Hi,

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

Michael2210441
Posts: 0
Joined: Sat Jan 04, 2014 5:42 pm

How about a QR Code generator?

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

Michael2210441
Posts: 0
Joined: Sat Jan 04, 2014 5:42 pm

How about a QR Code generator?

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!

Return to “Issues”