J2me Createplayer does not work on samsung phones

392 views Asked by At

I am trying to create J2me application which will capture the image and upload it on the server.

I have used following code for capture image.

 player = Manager.createPlayer("capture://video");
 player.realize();
 videoControl = (VideoControl) (player.getControl("VideoControl")); 

The above code does work on all Nokia phones, it does not show camera to capture image neither it give any exception in Samsung phones.

Please direct me to links where the capture image code works for Samsung java enabled phones.

1

There are 1 answers

2
Telmo Pimentel Mota On

I've been through the same situation. You need to add a call to player.start().
In my case I did it after obtaining and adjusting the videoControl.