I tried that already, and i am just having way too many problems with the camera library. It is missing a lot of features, and does not work correctly when the screen is rotated.
Its honestly too much work rebuilding the entire camera app, and would definitely be easier in my opinion to simply use the default app that returns the path to the last image taken.