Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 55

Thread: simFla.ux.plugins.signaturePad

  1. #31
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    242
    Vote Rating
    3
      0  

    Default

    Hehe... Looking at it now actually... Does not look like Ext.AbstractComponent contains code to "init" the plugings like you find in Ext JS 4 version.

    if (me.plugins) { me.plugins = [].concat(me.plugins); for (i = 0, len = me.plugins.length; i < len; i++) { me.plugins[i] = me.initPlugin(me.plugins[i]); } }
    Simon Flack
    CEO and UX Designer
    WhiteFox AS, Norway

    Web: www.whitefox.no

    Facebook: www.facebook.com/WhiteFoxAS

    Twitter: @WhiteFoxAS

  2. #32
    Sencha User
    Join Date
    Jun 2011
    Posts
    93
    Vote Rating
    3
      0  

    Default

    hello, I'm using the signature pad from simon (thanks for this!), but have run into the same issue as was noted a page or two back on android, namely that we don't get any image data in anything below android 3. On my android 3.1 tablet i get the image data, however, on my SGS2 (android 2.3.6) i dont' get any data. It was mentioned that attempting to get a BMP instead of a PNG might work but like the others I too get the [object HTMLImageElement] string when I attempt to get the signature value. Any idea as to how we can get something working on pre Android 3.x devices? Have those that ran into the same issue been able to find a solution?

    [EDIT] I see now that its not possible pre android 3. however, there are some workarounds as noted by weazil at the link he provided (http://code.google.com/p/android/issues/detail?id=7901) .... if any have used the workarounds it would be nice to hear your impressions/experiences.

  3. #33
    Sencha User
    Join Date
    Feb 2011
    Posts
    111
    Vote Rating
    1
      0  

    Default

    @eyepoker I was able to successfully call plugins[0].getSignatureAsImage('DATA') on android 2.3.3(both DroidX and HTC EVO).

    I only had an issue when calling plugins[0].getSignatureAsImage('BMP')

  4. #34
    Sencha User
    Join Date
    Jun 2011
    Posts
    93
    Vote Rating
    3
      0  

    Default

    From what I can tell you shouldn't be getting the desired result for android 2.x devices. I have a Galaxy S2 (2.3.6) and I literally get this short string as the output: "data:". This is consistent with the reported behavior.

    On an Acer a500 (3.2) i get the full data string.

    The issue is that toDataURL on android 2.x just isn't fully implemented, thus signature pad isn't able to do its magic. I've no idea why you can get it to work on your two devices - i have to think that it is in fact not working. No error will be thrown, you *can* draw/write and you do get "something" returned... just not the image data.... I'm sure you have, but in case not, have you taken a look?

  5. #35
    Sencha User
    Join Date
    Jan 2012
    Posts
    14
    Vote Rating
    0
      0  

    Default

    Hi Simon, really thanks for this awesome plugin!!
    I've a question: how can I disable/enable the signature panel? In order to allow user to edit or not it.

    Thanks

  6. #36
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    242
    Vote Rating
    3
      0  

    Default

    I will look into this and get back to you. I am also about to make a version for 2.0 now that it is soon ready for release.
    Simon Flack
    CEO and UX Designer
    WhiteFox AS, Norway

    Web: www.whitefox.no

    Facebook: www.facebook.com/WhiteFoxAS

    Twitter: @WhiteFoxAS

  7. #37
    Sencha User
    Join Date
    Jan 2012
    Posts
    14
    Vote Rating
    0
      0  

    Default

    Hi Simon, thanks for your quick reply and for the good news!
    So I'll wait for

  8. #38
    Touch Premium Member
    Join Date
    Jun 2010
    Posts
    324
    Vote Rating
    2
      0  

    Default

    Anyone get this to work with Android 2.0+ but < Android 3.0? If there is any known workaround please share.

    Thanks!

  9. #39
    Sencha User
    Join Date
    Jun 2011
    Posts
    93
    Vote Rating
    3
      0  

    Default

    i used the phonegap canvas plugin for android 2x.... assuming you are making an app.

  10. #40
    Touch Premium Member
    Join Date
    Jun 2010
    Posts
    324
    Vote Rating
    2
      0  

    Default

    Quote Originally Posted by eyepoker View Post
    i used the phonegap canvas plugin for android 2x.... assuming you are making an app.
    Is it possible to do testing with the phonegap canvas plugin on Chrome?

Page 4 of 6 FirstFirst ... 23456 LastLast

Similar Threads

  1. Plugins vs extension
    By pokerking400 in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 7 May 2008, 12:37 PM
  2. wRite a Plugins
    By abys in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 3 Feb 2008, 12:15 PM
  3. [Solved]What are plugins?
    By vendiddy in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 10 Jan 2008, 3:09 PM

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
  •