is CameraCaptureDialog only for wm5?
I want to make my application available for capture picture from the camera
Yes, WM 5.0 only. On pre WM 5.0 devices you'd need to use camera SDK from particular camera manufacturer. If it’s not available then it is not possible to use that camera. Please contact camera manufacturer for info.