Hi,
We have made some experiements with Nokia Series 60 "Browser Control"
component. Basically I think we know what it would take to port
PhoneGap to S60 and I know want to share this (so that no one needs to
bang head to a wall again).
There are two ways control the browser in S60: Browser Control and
application overlay. The application overlay opens a new browser
window on the top of your application. You cannot customize the
browser UI, the options menu or anything else, so I think this is not
a good approach because of the lack of control.
Then there is Browser Control
http://www.forum.nokia.com/info/sw.nokia.com/id/47d8a7fe-768c-44e5-bc26-fcba0a05e35e/S60_Platform_Browser_Control_API_Guide_v2_0_en.pdf.html
which is "the right way" to embed
WebKit in your application. You have total control over the surrouding
UI. But looks like it the Browser Control itself is not the most
robust piece of software and tends to have uncatchable crashes in
various situations (page does not load, the page load is interrupted)
and is stable enough only for offline applications.
Also, we lack something like stringByEvaluatingJavaScriptFromString in
the public API, so we cannot feed any data from the phone to the
Javascript easily. However, it is possible for the shell application
to have native code to listen to localhost socket for which Javascript
connects using AJAX requests. Kuneri's KuneriLite does exactly this
for Flash Lite.
The third option is just wait 5 years when Nokia device base is
satured by Series 60 fifth edition device which supports Nokia's Web
Run-Time 1.1. WRT is Nokia's proprietary, closed, PhoneGap like
platform.
http://wiki.forum.nokia.com/index.php/Category:Web_Runtime_(WRT)
Some Nokia Series 60 devices support Web Run-Time 1.0 with an software
update, but version 1.0 lacks all "PhoneGap abilities" like GPS. Both
WRT technologies allow capsulating web application to installable
Series 60 packages. Nokia doesn't seem to be keen on backporting WRT
1.1 to older devices, so this technology has currently near-zero
market base.
I think we are not pursuiting Series 60 very actively anymore, unless
we got a customer case for it. We'll just wait that WRT 1.1 is
widespread enough and make a PhoneGap adapter for it.
Some experiemental Python code:
https://code.launchpad.net/~jussi-toivola/pys60community/browserbranch
Cheers,
Mikko
http://www.twinapex.com