可以在各种移动Web浏览器中捕获签名吗? [英] Signature capture possible in various mobile web browsers?

查看:110
本文介绍了可以在各种移动Web浏览器中捕获签名吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的公司正在考虑提供一个轻量级的移动网站,以便在现场进行数据输入(我们已经有一个胖客户端移动应用程序).一项严格的要求是我们必须能够捕获签名.

My company is considering offering a lightweight mobile web site for data entry in the field (we already have a thick-client mobile application). One hard requirement is that we must be able to capture a signature.

是否存在用于捕获签名的现有技术,特别是跨多种移动设备/网络浏览器的移动网络浏览器中运行的网页内部的捕获签名?浏览器解决方案,而不是胖客户端.

Is there any prior art for capturing a signature, specifically inside a web page running inside a mobile web browser, across a wide variety of mobile devices/web browsers? I am only asking for in-browser solutions, not thick-clients.

出于明显的原因,将要求该设备具有触摸屏.

For obvious reasons, the device would be required to have a touchscreen.

当然,那里有许多具有各种功能的不同的移动浏览器.理想的解决方案将支持尽可能多的浏览器,并根据浏览器的功能正常降级.

Certainly there are many, many different mobile browsers out there with a wide variety of capabilities. The ideal solution would support as many browsers as possible and degrade gracefully based on browser capabilities.

我已经知道,某些版本的Flash可能会提供诸如此类的绘图API,前提是所需设备的浏览器支持Flash.

I am already aware that certain versions of Flash might provide the drawing APIs needed for something like this, assuming the desired device's browser supports Flash.

我也知道用于Pocket IE的第三方ActiveX/OCX控件在Windows Mobile设备上.用户必须在使用前在浏览器中手动下载/安装控件.不幸的是,但是可以接受.

I'm also aware of a third party ActiveX/OCX control for Pocket IE on Windows Mobile devices. It is necessary for the user to manually download/install the control within the browser before use. Unfortunate, but acceptable.

我个人并不知道许多支持托管Java applet的移动浏览器,但是可能有些.同样,基于对各种Java API的支持,也许这可能是一种途径.

I'm not personally aware of many mobile browsers that support hosting a Java applet, but there are probably some. Again, based on the support for various Java APIs, perhaps this would be a possible avenue.

JavaScript 可以执行此操作.

Javascript could do this, if the engine and processor are robust enough on the device.

最后,在这里,总的梦-以求的是,也许可以让用户使用移动设备的相机在一张普通纸上拍摄签名的照片,并以某种方式将其视为有效签名.但是,这将产生一个位图图像,而不是我在所有其他实例中可能收集到的矢量.而且,要通过照相机应用程序集成照片的拍摄并使用Web浏览器应用程序上载照片,同时将特定图像与所捕获的其余数据相关联,将是非常困难的,即使不是不可能/不合理的.

Finally, total pipe-dream here, perhaps one could have the user take a picture of a signature using the mobile device's camera on a plain piece of paper and somehow count that as a valid signature. However, this would produce a bitmap image, as opposed to vectors which I'd likely be collecting in all other instances. Also, it would be pretty difficult, if not impossible/unreasonable, to integrate the taking of the photo via a camera app and upload that using the web browser app while associating that specific image with the rest of the data being captured.

谢谢.

推荐答案

现在有一个jQuery插件可以执行此操作-> http://thomasjbradley.ca/lab/signature-pad

There is a jQuery plugin to do this now -> http://thomasjbradley.ca/lab/signature-pad

先前的链接自2016年3月17日起无效,但相关的存储库位于GitHub上: https ://github.com/thomasjbradley/signature-pad

The previous link is inactive as of March 17, 2016, but the relevant repository is on GitHub: https://github.com/thomasjbradley/signature-pad

这篇关于可以在各种移动Web浏览器中捕获签名吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆