String.isEmpty() not available in Android API 8