fix some android start activity issues
Merge pull request #811 from jlipps/master

android activity fixes