I'd say use a wrapper (you know, converts the code for you), but with all of the XDK specific stuff, I'd say that's out of the question, unless someone wrote a wrapper that works with the XDK. I'm not a professional developer, however, so don't take my word for it.