1. #41
    Sencha User
    Join Date
    Jun 2011
    Posts
    93
    Vote Rating
    3
    eyepoker is on a distinguished road

      0  

    Default


    unfortunately, no, you can't. you have to test on-device. what i did was get the captured base 64 and displayed it in a test div to see what i got.

  2. #42
    Touch Premium Member
    Join Date
    Jun 2010
    Posts
    324
    Vote Rating
    2
    profunctional is on a distinguished road

      0  

    Default


    I have two signaturepad instances on my app. It seems that when one is used, the other one is rendered useless.

    The symptom is that I cannot draw in the signaturePad on the second instance, once the first instance has been drawn on.

    Any advice?

  3. #43
    Sencha User
    Join Date
    Nov 2008
    Posts
    114
    Vote Rating
    0
    tomlobato is on a distinguished road

      0  

    Default For sencha touch 2...

    For sencha touch 2...


    For who is trying to get signatures in ext/st/st2, I found a good solution, but out of the Ext world: http://thomasjbradley.ca/lab/signature-pad/. It is easy to use it inside sencha...

    The html. For example the "html:" property of a panel:
    PHP Code:
    <div class="sigPad"><canvas class="pad" width="400" height="170"></canvas></div
    Instantiating the sig pad:
    PHP Code:
    var sigpad = $('.sigPad').signaturePad({
      
    drawOnlytrue
      
    lineWidth1
      
    lineTop130
      
    lineMargin50
    }); 
    The complete Sig.js controller is attached.
    The url order/relat just returns a relatory in html containning the div.sigPad example above.

    Of course, would be nice to do this all only inside sencha, but while it is not a easy option, jquey.segnaturepad works very well.
    Attached Files

  4. #44
    Sencha User
    Join Date
    Jun 2009
    Posts
    14
    Vote Rating
    0
    weazil is on a distinguished road

      0  

    Default Android Canvas bug

    Android Canvas bug


    Doing more and more research I am leaning towards making my app a native app with phonegap or senchas new packaging and was curious if anyone could help me turn this code into a native over ride as i do not know java or android programming

    http://corner.squareup.com/2010/07/smooth-signatures.html

    This link here describes exactly the problems I am having, I also found that in the android-tools from senchalabs they use the historicalX & Y that square uses to smooth the signature

    https://github.com/senchalabs/android-tools

    So far I have gotten the signatures to save with bmp and ive figured out a phonegap plugin to get todataurl to work so i can have native png vs bmp I've even found 1 bmp to png in javascript but I just cant figure out how to make squares code become an over ride for canvas so i can have smooth signatures

    If anyone can steer me in the right direction that would be great

  5. #45
    Sencha User
    Join Date
    Feb 2012
    Posts
    5
    Vote Rating
    0
    Stim is on a distinguished road

      0  

    Default


    I really need something like this, looking forward to the touch 2 version. Good work so far Simon

  6. #46
    Touch Premium Member
    Join Date
    Jun 2010
    Posts
    324
    Vote Rating
    2
    profunctional is on a distinguished road

      0  

    Default


    Quick question. What is the base64.js file for?

  7. #47
    Sencha User
    Join Date
    Nov 2011
    Posts
    72
    Vote Rating
    0
    kalor is on a distinguished road

      0  

    Default


    Just wanted to add my encouragement to Simon for the ST2 version. Claim the fame, dude.

  8. #48
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Default


    Hey Guys

    Sorry this is taking so long. I just have not had time to do this kind of stuff since I started Whitefox last year.

    Hopefully I get around to it soon. Maybe somebody will beat me to it.

    I will be working on a Sencha 2.0 project from next week so maybe I can look into it then.

    Simon
    Simon Flack
    CEO and UX Designer
    WhiteFox AS, Norway

    Web: www.whitefox.no

    Facebook: www.facebook.com/WhiteFoxAS

    Twitter: @WhiteFoxAS

  9. #49
    Sencha User QuinnPerkins's Avatar
    Join Date
    Mar 2008
    Posts
    22
    Vote Rating
    0
    QuinnPerkins is on a distinguished road

      0  

    Default Any update on Touch 2?

    Any update on Touch 2?


    Great project! Any update on a 2.0 version? Could we bribe you to prioritize its release?

    Thanks for sharing!

  10. #50
    Ext JS Premium Member SimonFlack's Avatar
    Join Date
    Jul 2010
    Location
    Norway
    Posts
    241
    Vote Rating
    3
    SimonFlack is on a distinguished road

      0  

    Default


    Sorry Guys. I am just so busy with work at the moment. If nobody beats me too it I will try to get around to this asap.
    Simon Flack
    CEO and UX Designer
    WhiteFox AS, Norway

    Web: www.whitefox.no

    Facebook: www.facebook.com/WhiteFoxAS

    Twitter: @WhiteFoxAS

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

Thread Participants: 22

Tags for this Thread