activity camera usage with pause and resume