[maemo-developers] web based local application GUIs

From: Kalle Valo Kalle.Valo at nokia.com
Date: Thu Dec 6 16:52:52 EET 2007
"ext Tomi Ollila" <tomi.ollila at guru.guru-group.fi> writes:

> On Wed 05 Dec 2007 19:09, Kalle Valo <Kalle.Valo at nokia.com> writes:
>> In tablets applications request connections through libconic and after
>> that they can open sockets as usual. If some applications request
>> connections to localhost from libconic, that's a bug in the
>> application, not in lower levels.
>
> OK! So next the big question: If I open default browser and try to connect
> http://127.0.0.1/ and I have application in port 80 serving http requests
> should that work? (with all / which IT OS versions?)

No idea, it depends how the browser is implemented. If it's clever
enough, it won't request a connection from libconic for localhost
connections. I'm not involved in browser development and I can't give
you an answer for this one.

>> Exception: there was a preload library (which name I don't even
>> remember anymore) in osso-ic-lib which wrapped socket() and close()
>> functions and did just what you described here. But I doubt (and hope)
>> that nobody uses it anymore.
>
> What is someone wants to take some unix software, compile it unmodified
> for internet tables and expect it to make internet connections as the
> browser does now (i.e. automatically start connection over wlan/bt) ?

Then the preload library is the only option. 

But in that case I think it's better that the user is forced to open
the connection manually. The library is a hack and only deity knows
what kind of problems it might create. When an application is really
ported to maemo platform, it's trivial to add libconic support. This
all is IMHO, of course.

I finally checked the name of the preload library I have been talking
about. It's libosso-ic-preload.so and doesn't seem to be included in
OS2008 anymore.

-- 
Kalle Valo

More information about the maemo-developers mailing list