Kwwika support for webOS

07 Dec 2010

We've got a potential client interested in using Kwwika on HP webOS so we've been working with them to test the Kwwika JavaScript library on a platform that we've not been directly targeting. After a problem glitch with the 64bit webOS SDK (mainly JVM and PATH problems) we got the 32bit one up and running and the a webOS emulator fired up. From there Palm have created a really nifty web IDE called Ares. Ares communicates with the webOS emulator, which runs on Virtual Box, via the web browser Java plugin and it allows you to launch the application and debug it. This works surprisingly well.

We came across three problems with the Kwwika JavaScript API where we'd made assumptions that the library would be running within a web browser. We fixed this by stepping through the code with Ares debugger and soon we were connected, logged in, subscribing to data and publishing data.

The code is super-simple since it's just a normal HTML page:

[gist id=732019]

And our application didn't have any UI but you can see from the log at the bottom of this screenshot that the Kwwika JavaScript library is working with webOS as expected.

webOS Ares - using Kwwika

Permalink

| Leave a comment  »