lwuit

How to capture images using LWUIt VIdeoComponent

走远了吗. 提交于 2019-11-27 07:57:05
问题 I have tried using MediaComponent , but since it is now deprecated it wont be good moving forward. Also i was not able to get it to re-size to full screen on the form. I am trying to use VideoComponent to capture a screen shot in an S40 device. I cant find how to instantiate the VideoComponent properly for capturing an image and not playing a video. 回答1: You can use VideoComponent for capturing an image. First, to instantiate the VideoComponent, you need to create a native peer: