Adapt to pre-API 11 situations.
Adapt code to work API level 1.
Released v1.0.