add javadoc for MainActivity
Merge pull request #1 from allenz8512/feature

add javadoc for MainActivity