Pass the activity and use that for photo taking