Thanks for your answer, but I'm not sure what to download. How exactly do I get XMLGregorianCalendar from Apache Harmony and into my project?
On Jul 12, 1:56 pm, Mark Murphy <[email protected]> wrote: > Max wrote: > > An external library that I use (Sesame) references the method > > javax.xml.datatype.XMLGregorianCalendar.toXMLFormat, which is not > > available in Android. What can I do about that? > > Option #1: Don't use Sesame. > > Option #2: Grab XMLGregorianCalendar from Apache Harmony and put it in > your project in its native namespace (javax.xml.datatype). If/when you > get the compile error complaining about the fact that you are trying to > introduce a class in a protected namespace, follow the instructions in > the compile error to override the compiler. Pray to the high heavens > this does not come back to bite you in the future. > > Option #3: Grab XMLGregorianCalendar from Apache Harmony and put it in > your project in some alternative namespace (directory, plus the package > declaration at the top of the file). Modify Sesame to use > XMLGregorianCalendar in the new namespace. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, $35/Year --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

