In the document "Guidelines for game developers v2.0" nokia says that the existence of the DeviceControl class (flashlight, vibra) should be checked using a Class.forName("com.nokia.mid.ui.DeviceControl") construct.
But if this class does not exist (like in the nokia s60 concept sdk), i can't use it, and i have to put comments around calls to the DeviceControl class.
If i compile my jar file using a sdk that includes the class, and want to run this jar file on a device without this class, i get a verification error.

Can anyone tell me how i can check the existence of flashlight and vibra support ?