使用 JAVA ME 在相机上绘制
我想知道是否有办法在 videoControl 上绘制一些东西。 我尝试使用 LWUIT 但无法取得任何结果,有人做过类似的事情吗?任何帮助将不胜感激
I'm wondering if there is anyway for drawing somethin over the videoControl.
I tried using LWUIT but I can't achieve any result, have anybody done somethin similar? Any help will be appreciate
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不,很少有设备会支持这一点。 JSR135 相机取景器图像似乎是由 Java 外部的硬件绘制的,并且它是在屏幕上已有的任何内容上绘制的。你对此无能为力:(
Nope very few devices will support this. JSR135 camera viewfinder images seem to get drawn by the hardware external to Java, and it gets drawn over whatever you already have on the screen. Nothing you can do about it :(
如果您是应用程序用户,不认为刷新率慢,我认为您可以使用 VideoControl 的快照功能。
LWUIT 对解决此问题没有帮助。它只是 MIDP Canvas 上的图形部件库。
If you're application user don't argue slow refresh rate I think you can use snapshot feature of VideoControl.
LWUIT do not help for this issue. It's just graphical widget library on the MIDP Canvas.