I am trying to get the camera working on a Nokia 6070. But trying to create the player causes an exception. I have already tried both :
mPlayer = Manager.createPlayer("capture://video");
mPlayer = Manager.createPlayer("capture://image");
but none of them is working. I always get the same exception:
"Media problem while creating video player. javax.microedition.media.MediaException: Invalid Locator: capture://yyy" where yyy is video or image.
Is either of the two ways I am using to create the player the correct one?
If possible I would like to automatically detect which string to use when creating the player. Is there an easy way to do so?
I am compiling with the Sun wireless Toolkit SDK. Can this cause the problem?