String.isEmpty() is not available on Android 2. Closes GH-168