Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Compatibility with Different Android Versions

barbeau edited this page Oct 9, 2012 · 1 revision

Given the current design of Jackson, and the XML/POJO-related modifications documented here, Jackson should be able to successfully execute and parse SIRI JSON and XML on 96.1% of Android devices currently in the wild – it should work on Android devices v2.2 (Froyo – API Level 8) and higher.

Above numbers are based on the dashboard of data from the Google Play store, current as of Oct. 1, 2012

For the SIRI data, the primary limitation on the remaining Android devices is the availability of the javax.xml.datatype.Duration, which was introduced in Android v2.2:

http://developer.android.com/reference/javax/xml/datatype/Duration.html

On Android v2.1, Jackson will throw an exception:

Caused by: java.lang.TypeNotPresentException: Type javax.xml.datatype.Duration not present at org.apache.harmony.luni.lang.reflect.ImplForType.getRawType(ImplForType.java:64)