1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    70
    Vote Rating
    0
    koolll is on a distinguished road

      0  

    Default Unanswered: Integrate Qr code with sencha touch

    Unanswered: 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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,581
    Vote Rating
    433
    Answers
    3100
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    You want to show a QR code or have the camera used to scan one?
    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.