javascript PhoneGap 中的签名捕获

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8946061/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-26 05:06:32  来源:igfitidea点击:

Signature Capture within PhoneGap

javascriptandroidcordovaphonegap-pluginselectronic-signature

提问by user1014759

I am attempting to add signature capture functionality to a PhoneGap application. I have found a few options such as signature capture 2.8.1 (http://androidapp.lisisoft.com/apps-android-phone/108585-biz.binarysolutions.signature.html) and Thomas J. Bradley's signature Pad javascript plugin (http://thomasjbradley.ca/lab/signature-pad/). The first works pretty well on the android device but requires a license. The second works well in a browser but does not work at all when run within my PhoneGap application.

我正在尝试向 PhoneGap 应用程序添加签名捕获功能。我找到了一些选项,例如签名捕获 2.8.1 (http://androidapp.lisisoft.com/apps-android-phone/108585-biz.binarysolutions.signature.html) 和 Thomas J. Bradley 的签名 Pad javascript 插件 ( http://thomasjbradley.ca/lab/signature-pad/)。第一个在 android 设备上运行良好,但需要许可证。第二个在浏览器中运行良好,但在我的 PhoneGap 应用程序中运行时根本不起作用。

Does anyone have a suggestion of an open source signature capture application that will work within PhoneGap? Or has anyone had success tweaking Thomas J. Bradleys signature pad to work within phonegap?

有没有人建议可以在 PhoneGap 中使用的开源签名捕获应用程序?或者有没有人成功地调整了 Thomas J. Bradley 的签名板以在 phonegap 内工作?

UPDATE: Thomas J. Bradley signature pad only works with android SDK 10/ Android 2.3 and higher.

更新:Thomas J. Bradley 签名板仅适用于 android SDK 10/Android 2.3 及更高版本。

回答by Ankur Garha

Try using jSignature

尝试使用 jSignature

回答by Rachit

https://github.com/triceam/Mobile-Signature-Capture

https://github.com/triceam/Mobile-Signature-Capture

try using this trecidesign code.I think it can help you.

尝试使用这个 trecidesign 代码。我认为它可以帮助你。