Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

[15:42:38 CDT(-0500)] <athena> FYI apparently JAXB isn't practically usable from android project

[15:43:02 CDT(-0500)] <EricDalquist> well android doesn't run Java (wink)

[15:43:06 CDT(-0500)] <athena> indeed

[15:43:17 CDT(-0500)] <athena> you can of course add jars

[15:43:29 CDT(-0500)] <athena> but apparently that one would make the app like 9MB bigger, which is . . . bad :0

[15:43:55 CDT(-0500)] <EricDalquist> yeah

[15:44:43 CDT(-0500)] <athena> in the longer term need to figure out a good way to let js and java share a common config

[15:44:59 CDT(-0500)] <athena> maybe the thing to do will be to just have the configuration read by java, then exposed to js via a phonegap plugin

[15:45:00 CDT(-0500)] <athena> we'll see

[15:45:09 CDT(-0500)] <athena> not the end of the world for now though, i guess

[15:45:51 CDT(-0500)] <athena> i wish we could just use JSON

[15:45:57 CDT(-0500)] <athena> but JSOn doesn't allow comments :/

[15:45:59 CDT(-0500)] <EricDalquist> is this static config

[15:46:06 CDT(-0500)] <EricDalquist> or can it be grabbed from the portal at runtime?

[15:46:15 CDT(-0500)] <athena> this is for the native app, not the portal

[15:46:22 CDT(-0500)] <EricDalquist> ah

[15:46:27 CDT(-0500)] <EricDalquist> can you generate it at build time?

[15:46:36 CDT(-0500)] <EricDalquist> Jackson can generate JSON using JAXB annoations

[15:46:42 CDT(-0500)] <EricDalquist> why not config in XML

[15:46:46 CDT(-0500)] <EricDalquist> use JAXB for the java code

[15:46:56 CDT(-0500)] <athena> can't use JAXB

  • No labels