changed camera to use camera api and not launch intent

left old code in there for comparison, might need to be cleaned up