This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Kawa Scheme on Android
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Sun, 18 Jan 2009 21:41:56 -0800
- Subject: Re: Kawa Scheme on Android
- References: <495804A9.7090001@bothner.com>
I've updated my blog entry on compiling Scheme for Android:
http://per.bothner.com/blog/2009/AndroidHelloScheme/
Main changes of interest:
(1) Less boiler-plate through the use of Scheme macros:
(require 'android-defs)
(activity hello
(on-create-view
(let ((tv (android.widget.TextView (this))))
(tv:setText "Hello, Android from Kawa Scheme!")
tv)))
Still more verbose than I'd like - I'd like to use
something like Groovy's Swing Builder idea.
(2) I actually have it running on the G1 phone, rather than
just getting it running on the Android emulator.
(3) Some CSS and JavaScript magic so the article is more readable
on small screens, such that of the G1.
--
--Per Bothner
per@bothner.com http://per.bothner.com/