Get picture by camera or choosing from gallery like instagram

Hi,
Is any way to open camera to take picture or choose from gallery at the same time like instagram?
I mean I want both sourceTypes CAMERA and PHOTOLIBRARY to show at the same time.