Don't use String.isEmpty() (only available in Java 6 +, not available for Android 2.2)
Fix for https://github.com/timmolter/XChange/issues/28