cleaned up alternate approach to taking picture using android camera api