Results 1 to 2 of 2

Thread: Integrate Qr code with sencha touch

  1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    84
    Vote Rating
    0
      0  

    Default Integrate Qr code with sencha touch

    I need to implement a qr code to my sencha touch project. Here is the tutorial that I used to follow.http://simonmacdonald.blogspot.com/2...-phonegap.html
    I follow the tutorial and the phonegap plugins is working very well in my phone. But nw I got a question. Hw can I customise the layout and implement the plugin to my sencha touch project?
    For example when i click member profile button a bar code scanner will appear.
    Here is my code.

    Code:
    Ext.define('bluebutton.view.BlueButton.MemberPopUp', {
    Code:
    extend: 'Ext.Panel',xtype: 'memberpopup',requires: [    'Ext.form.Panel',    'Ext.form.FieldSet',    'Ext.field.Text',     'bluebutton.view.BlueButton.MemberDetail'],config: {    items: [                 {                     docked: 'top',                     xtype: 'titlebar',                     items: [                         {                             xtype: 'button',                             text: 'Member Profile'                         },                          {                              xtype: 'button',                              text: 'Transaction History'                          }                      ]                 },                 {                    html : '<div align="center"> <img src="/bluebutton/resources/images/user2.png" alt="Smiley face" height="150" width="150" border="5"> </div>'                 }             ] }


    Please help. Thanks in advance

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    You want to show a QR code or have the camera used to scan one?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •