java.lang.String.isEmpty() was added in Gingerbread (2.3)