0

I am using this line of code to start the Video Component:

videoComponent = VideoComponent.createVideoPeer("capture://video");

The code I have works perfectly on a Nokia phone but I have another phone by OLG and this line always fails. Both "capture://video" and "capture://image" don't work.

Does anyone know how to find out whats the proper string to put there or all the possibilities?

I would search it but I don't know what to type into Google.

user1034489
  • 37
  • 1
  • 7

1 Answers1

0

VideoComponent in LWUIT 1.5 had many bugs and since LWUIT is effectively abandoned it will probably never be fixed and never really worked well. With Codename One we migrated to a more traditional Media approach, I would recommend migrating to Codename One.

Shai Almog
  • 51,749
  • 5
  • 35
  • 65