使用带有 wap 的手机摄像头

发布于 2024-08-12 00:43:03 字数 163 浏览 3 评论 0原文

我将使用 wml 和 servlet 创建一个 wap 站点,它应该能够访问手机摄像头并拍摄快照。 wap 网站可以访问手机摄像头吗?

我知道这不可能以简单的方式实现,因为 wap 网站在移动设备上运行时受到很多限制。但有没有办法绕过这些限制并使用手机摄像头呢?

提前致谢, 女宛

I going to create a wap site using wml and servlets, it should be able to access phones camera and take a snapshot. Is it possible to a wap site to access phones camera?

I know it is not possible in straightforward way, since wap sites are running under lots of restrictions in a mobile. But is there any way to get around these restrictions and use the phones camera?

Thanks in advance,
Nuwan

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

救赎№ 2024-08-19 00:43:03

我认为 WAP 无法访问手机的任何硬件。也许某些手机通过 J2ME 公开相机功能(或者在 iPhone/Android/Windows Mobile 的情况下,通过操作系统特定的 API)。

这就是为什么许多网站要求您通过电子邮件/彩信发送照片来上传它们。

I don't think WAP is able to access any of the hardware of a phone. Perhaps some phones expose camera functionality via J2ME (or in the case of iPhones/Android/Windows Mobile, an OS specific API).

This is why many sites ask you to email/MMS in your photos to upload them.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文