Take photo using intent.