I wrote a wrapper for the Apache Cordova (Phonegap) API recently, so that it could be used with ClojureScript. I got Hello World, etc up and running without much fuss. There are however two issues:
1. Also a slow start-up time, since Phonegap already has resources to load, and then a large JavaScript file on top of it. On a subpar device, this wait was several seconds. 2. Using Phonegap itself feels very second-class, especially with regard to the complex Android app lifecycle, things like Intents, and so on. That said, if are basically building a webapp that just needs some access to still inexistent APIs like camera, battery, compass etc, and you are targeting better, recent-gen hardware, it (Phonegap) could be a nice option. I'll also put the wrapper online soon. On Wed, Nov 28, 2012 at 10:54 AM, Herwig Hochleitner <[email protected] > wrote: > 2012/11/27 John Gabriele <[email protected]> > >> Hm. I need to read up on what the dex is, and why one would want to dex >> it. :) > > > Dex is the utility transforming java byte code to dalvik executable > bytecode, that can run on android. It's written in java so can be applied > to itself. > I remember a blog article some time ago, but I can't seem to find it now. > > 2012/11/27 Curtis Gagliardi <[email protected]> > >> How do you use clojurescript on android? > > > I'm using HTML5 and CSS in an embedded WebView. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
