Accessing Hardware Camera on multiple platforms

Hi guys,

Have anyone tried accessing hardware camera on multiple platforms? Is there any good cross-platform camera API that can be used?

Thanks in advance,
Alex