for Android API 10.
Android doesn't have AWT.
Merge pull request #34 from pnemonic78/master

for Android API 10.