Results 1 to 2 of 2

Thread: Integrate Qr code with sencha touch

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Nov 2012
    Vote Rating

    Default 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.
    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.

    Ext.define('bluebutton.view.BlueButton.MemberPopUp', {
    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
    Gainesville, FL
    Vote Rating


    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!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

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