Is there a possibility to use a class from the JDK (1.7) instead of the Android SDK (ADK, API 23)?
A class I need to work with exists in the Android SDK (API 23) and in the JDK (1.7). By default the class from the ADK is used. However I want to used the class from the JDK.
In my case I want to use the DatatypeFactory.newInstance(factoryClassName, classLoader) which is placed in the package javax.xml.datatype in the JDK and the ADK.
Due to differences in the implementation i would like to use the class from the JDK instead of the ADK.
How can I use the class from the JDK instead of the class form the ADK?