Use TextUtils.isEmpty, not String.isEmpty. The latter seems not to work with Android 2.1
Merge pull request #360 from ospalh/feature-avoid-String.isEmpty

Use TextUtils.isEmpty, not String.isEmpty.