Merge pull request #225 from jlipps/master

fix port typecasting issue
Merge pull request #232 from jlipps/master

attributes for android
don't let people find secure tags, give an error instead