Updated MainActivity with more basic camera functionality