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
    Posts
    84
    Vote Rating
    0
      0  

    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.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,422
    Answers
    3901
    Vote Rating
    1271
      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!

    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 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
  •