Implement ActivityInput

Implement ActivityInput.