java - Why was Character.isAlphabetic() added in Android API level 19? -


i working on simple text analyzing method , have min sdk version set 11. , found out minimum api level character.isalphabetic() 19. long remember character class standart java class has been added long long time ago. why working way? how better replace it?

p.s. haven't tested app on lower api level not sure yet if it's working on <19.

the reason function entered java in version 1.7, , jellybean not built against java version 1.6.

character.isletter() checks whether character in a-z or a-z --which different may work use cases.

there's old blog post talks how jellybean sources not compile same java 1.7 here:

http://blog.klocwork.com/android-development/use-the-correct-java-jdk-for-android-builds/


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -