This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Kawa Scheme on Android


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]