Fix: Restore Android 2.2 compatibility

"isEmpty()" method is level9, so replaced to "length()==0"
Merge pull request #64 from takke/restore-android2_2-compatibility

Fix: Restore Android 2.2 compatibility