fix sample: enable to work on android 2.2