Tim Daly
1) Use ClojureScript in combination with PhoneGap: the generated
JavaScript will then be run inside a webview component (headless
browser).
2) Build a normal Android app with a Java/Android based UI, accessing
a ClojureScript API. In that case the UI will be fully rendered using
Java (better performance), but you could still use a ClojureScript
library which you already have.
3) Use ClojureScript to build a WAC/W3C widget (an HTML/JavaScript
page with an XML descriptor file). Opera provides a WAC widget runtime
Android app, and a number of operators and device manufacturers have
added support for WAC/W3C widgets directly into their phones.
If you access APIs for generating apps (e.g.
https://build.phonegap.com/), you could even package an
Android/iOS/... app without the need to install a mobile app SDK on
your machine.
I've personally used approach 1) and 2), and if you are interested we
could start working on a proof-of-concept app using both approaches
this weekend. Here's a Github repository I'll be using to share code
with you:
https://github.com/raju-bitter/clojurescript-android-phonegap
Some links:
W3C Widget http://www.w3.org/TR/widgets/
Wholesale Application Community http://www.wacapps.net/
Opera releases WAC-ready widget runtime for Android
http://www.opera.com/press/releases/2010/12/22/
PhoneGap Build service: https://build.phonegap.com/
- Raju
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com
> Note that posts from new members are moderated - please be patient with your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en