-
6 Mar 2012 12:15 PM #41
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.
-
7 Mar 2012 8:21 AM #42
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?
-
9 Mar 2012 8:02 AM #43
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:
Instantiating the sig pad:PHP Code:<div class="sigPad"><canvas class="pad" width="400" height="170"></canvas></div>
The complete Sig.js controller is attached.PHP Code:var sigpad = $('.sigPad').signaturePad({
drawOnly: true,
lineWidth: 1,
lineTop: 130,
lineMargin: 50
});
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.
-
12 Mar 2012 2:27 AM #44
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
-
14 Mar 2012 6:34 AM #45
I really need something like this, looking forward to the touch 2 version. Good work so far Simon
-
22 Mar 2012 9:19 AM #46
Quick question. What is the base64.js file for?
-
26 Apr 2012 4:50 PM #47
Just wanted to add my encouragement to Simon for the ST2 version. Claim the fame, dude.
-
29 Apr 2012 4:40 AM #48
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.
SimonSimon Flack
CEO and UX Designer
WhiteFox AS, Norway
Web: www.whitefox.no
Facebook: www.facebook.com/WhiteFoxAS
Twitter: @WhiteFoxAS
-
20 May 2012 1:38 AM #49
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!
-
20 May 2012 1:56 AM #50
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
-
Plugins vs extension
By pokerking400 in forum Ext 2.x: Help & DiscussionReplies: 6Last Post: 7 May 2008, 12:37 PM -
wRite a Plugins
By abys in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 3 Feb 2008, 12:15 PM -
[Solved]What are plugins?
By vendiddy in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 10 Jan 2008, 3:09 PM


Reply With Quote