more javadoc for Activity class