Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将使用 wml 和 servlet 创建一个 wap 站点,它应该能够访问手机摄像头并拍摄快照。是否可以通过 wap 站点访问手机摄像头?
我知道这是不可能的,因为 wap 网站在移动设备中运行时受到很多限制。但是有什么办法可以绕过这些限制并使用手机摄像头吗?
提前致谢, 努万
我认为 WAP 无法访问手机的任何硬件。可能有些手机通过 J2ME(或者在 iPhone/Android/Windows Mobile 的情况下,一个操作系统特定的 API)公开相机功能。
这就是为什么许多网站要求您在照片中发送电子邮件/彩信以上传它们。