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