سؤال

how I can detect if the device has a camera before calling the method camera.showDialog ();?

هل كانت مفيدة؟

المحلول

I think you're looking for the SystemState.CameraPresent property.

Microsoft.WindowsMobile.Status.SystemState.CameraPresent

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top