11-28-2011 08:01 PM
I am using webworks and need to detect whether the device has a camera. My question is will:
return false if the device has no camera? Is this the best way to detect cameraness? if not what is the best practice for this?
11-28-2011 09:19 PM
I think that the best way in knowing if there exists a camera in your phone is to just check your systems model version through the blackberry.system.model then flag your code to handle non-camera devices.
11-29-2011 01:05 AM
that would involve having a list of all existing and future blackberry models. The former is possible but the latter may be a bit tricky - but cool story 'bro.
11-29-2011 03:08 AM
haha sorry if I haven't been able to answered your question. Probably the Blackberry Gods would give us some insight if they plan to have this functionality included in their Camera API (or if they do plan to release new mobile phones without a camera in that matter)