PDA

View Full Version : Embeddable Browser Widget?


hasselmm
10-30-2009, 04:00 PM
What's the recommended way of embedding a pannable browser widget into Maemo5 applications?

- GtkMozEmbed is portable and has halfway proper API, but doesn't pan
- microb-eal, neteal have confusing, propritary API and also don't pan
- BrowserRespView seems to pan, but its API is insulting

fiferboy
10-30-2009, 04:24 PM
What's the recommended way of embedding a pannable browser widget into Maemo5 applications?

- GtkMozEmbed is portable and has halfway proper API, but doesn't pan
- microb-eal, neteal have confusing, propritary API and also don't pan
- BrowserRespView seems to pan, but its API is insulting

Trying to get pannable anything onto the desktop is a dead-end. The desktop will interpret any type of panning event as an attempt to move to a new desktop.

With the current implementation of hildon-desktop, I would recommend thinking of some other way to scroll through widgets (like the RSS reader or countdown-home do).

lcuk
10-30-2009, 04:26 PM
I believe the question was adding a browser widget into Maemo5 applications.
Not adding a Desktop widget running a browser.

this is different case, this is like eCoach embedding a map viewer and it should not have any problem panning if a suitable GTK widget were available..

hasselmm
10-31-2009, 11:38 AM
I believe the question was adding a browser widget into Maemo5 applications.
Not adding a Desktop widget running a browser.

this is different case, this is like eCoach embedding a map viewer and it should not have any problem panning if a suitable GTK widget were available..

Yup. Thanks for jumping in an explaining the case.

fiferboy
10-31-2009, 08:30 PM
Sorry for misunderstanding! I had just read a similar post about browsers embedded on the hildon desktop :o

QWebKit is a good choice for Qt applications (which run well in Maemo5). I have developed a Qt application, and use QWebKit to open wikipedia searches. It is easy to create a toolbar to control navigation, allow the user to choose whether to display photos or not, etc.

I guess it depends on what you are trying to do. There are some non-web browser widgets that will render simple HTML if that is all you are after. If you want full-blown, look into QWebKit