Rohit
Rohit

Reputation: 171

J2me Createplayer does not work on samsung phones

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.

Upvotes: 0

Views: 386

Answers (1)

Telmo Pimentel Mota
Telmo Pimentel Mota

Reputation: 4043

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.

Upvotes: 1

Related Questions