updated to be compatible with latest Android SDK
Merge pull request #5 from jush/master

updated to be compatible with latest Android SDK