How to check whether the phone supports camera from Java ME
From Nokia Developer Wiki
Created:(29 Mar 2007)
Last edited:(29 Jul 2013)
The following code tests whether or not the camera is supported:
You can also check if the Manager.createPlayer() method call returns MediaException. This means that the specific locator is not supported.