Categories: Java | Java ME | How To | Code Examples | Multimedia | Video
This page was last modified 08:26, 25 September 2007.
How to check whether the phone supports camera from Java ME
From Forum Nokia Wiki
This can be retrieved by
String videoCapture = System.getProperty("supports.video.capture");
Gives whether camera is supported or not
You can also check if the Manager.createPlayer() method call returns MediaException. This means that the specific locator is not supported.
(Note: You should have the createPlayer() call inside a try-clause anyway)
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Exception while accessing Camera on 6230 | n3po | Mobile Java Media (Graphics & Sounds) | 0 | 2004-12-14 10:11 |
| emulator with camera | gilkuper | Mobile Java General | 0 | 2005-04-29 20:22 |
| emulator with camera | gilkuper | Mobile Java Media (Graphics & Sounds) | 0 | 2005-04-29 20:28 |
| python pre-alpha camer module to script fake camera movement?? | vrs762 | Python | 1 | 2005-08-20 12:45 |
| media list | furqanraza | Python | 2 | 2008-06-06 12:02 |
