-
20 Jan 2011 12:26 PM #1Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,121
- Vote Rating
- 453
QRCode App
QRCode App
Stemming from Vinylfox's (here) idea, I decided to embark on my own with a much needed feature.
I wanted to have offline support and JavaScript can't really get source of a file, I needed to throw Google services out. I found a PHP library that does it so you have to run it on a server with PHP, no biggie tho. The PHP creates a PNG file containing a QRCode, then base64's the image and returns that string with some other parameters. Sencha Touch then takes that array and put's it in an offline Store.
Demo: http://www.simoens.org/Sencha-Projects/QRCode/
Git: https://github.com/mitchellsimoens/QRCodeMitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
20 Jan 2011 1:09 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,121
- Vote Rating
- 453
Updated code to use JavaScript to generate QR Code using Canvas. VinylFox found the JS code to do this so hats off to him but I beat him to it!
Git and online Demo has been updated!Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
20 Jan 2011 1:17 PM #3
Hehe...have some free time today I guess?
-Shea
My Blog:VinylFox | Twitter:@VinylFox | JavaScript Magazine:JSMag | Curator of the Baltimore/DC JavaScript Meetup | Author: Learning ExtJS 3.x Book
ExtJS Extensions & Plugins: GMapPanel UX | HtmlEditor Buttons Plugin | Selection Enabler Plugin | Grid DataDrop Plugin | Additional Ext.Fx
Sencha Touch Plugins: Swipe Tabs | List Pull Refresh | Accelerometer Tabs
-
20 Jan 2011 1:23 PM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,121
- Vote Rating
- 453
Last edited by mitchellsimoens; 20 Jan 2011 at 1:58 PM. Reason: Works now!
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
21 Jan 2011 12:05 AM #5
Awesome! Many, many thanks for this Mitchell. This is going to allow all kinds of stuff to be possible now!!
-
21 Jan 2011 12:12 AM #6
Just tried the demo, created a couple of QRCodes and read them perfectly with the iPhone RedLaser app. Just phenomenal work Mitchell! Very, very impressive :-)
-
21 Jan 2011 3:28 AM #7
Really great extension guys

Thanks for sharing.Sencha Inc
Andrea Cammarata, Solutions Engineer
CEO at SIMACS
@AndreaCammarata
www.andreacammarata.com
github: https://github.com/AndreaCammarata
-
21 Jan 2011 8:00 AM #8
Similar Threads
-
Ext.ux.touch.QRCode
By VinylFox in forum Sencha Touch 1.x: Examples and ShowcasesReplies: 4Last Post: 14 May 2012, 9:24 PM -
converting sencha touch app to ipad app
By fgeorge in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 4 Oct 2011, 1:09 PM -
Turning Sencha Touch-based app into a true native iPhone app?
By inapp in forum Sencha Touch 1.x: DiscussionReplies: 7Last Post: 21 Jul 2010, 5:59 PM -
The easiest way to convert an j2ee app to an AIR app
By ngontro86 in forum Ext.air for Adobe AIRReplies: 0Last Post: 28 Mar 2009, 3:40 AM -
Ext.app.App & Ext.app.Module Docs
By jscharbe in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 28 Feb 2009, 6:42 AM


Reply With Quote

