Test single dispatcher

Incorporated changes from #20 into the AndroidSample application

Added licenses and comments (which kdiff doesn't appear to like).