Thank you for your reply..
Yes, I am using the exception class(I am unable to compile the code if I don't
) And through that, I am able to see the alert: "createPlayer() failed.".. but there is nothing more than that.
Also, the MIDlet works fine in the emulator. It is only when I upload it to the phone, that I get this error. I am stumped and don't know how to proceed with this.. please help or guide me in an alternate direction so that I can get the solution.
Basically I want a camera that can take a snapshot and then send it to my web server where the image will be stored.