change namespace for Android code and add javadoc