Question about cross platform programming

Is it possible to use something like PhoneGap with Cocos2d-x to write cross platform application? I need some platform-defendant features like camera, photo album etc in my application. It will be very nice to hear any suggestions.

Thank you in advance.

Rule of thumb is that if you need something platform dependent you would have to code them natively.