I am using MapsForge and everything is ok. My problem is that old android devices are not supportiing Bidi (bidirectional) text. Persian names of street in older devices are incorrect but in new android versions are ok. I want to detect the android version of device to decide to run my custom (and simple) Bidi or not. Any idea?
Share
The String
Build.VERSION.RELEASEwill give you the user-visible version string (i.e 1.5, 1.6, 2.0), whileBuild.VERSION.SDK_INTwill give you a value from Build.VERSION_CODES that would be better to use if you want to compare against it programatically.