[maemo-developers] [maemo-developers] Using osso-browser-interface

From: Devesh Kothari devesh.kothari at nokia.com
Date: Thu Jan 12 12:29:30 EET 2006
ext maukka maukkanen wrote:

> Hi
>
> Anyone having experience in using osso-browser interface? I've spent
> some time trying to launch browser in embedded mode from hildonapp but
> all I'm able to launch is "Web loading" notification and then nothing.
> See the code snipplet below:
>
> <-------------------------------------------------------------------------------->
>
>  osso_return_t ret;
>  hildon_app_set_appview ( data->app, data->browser_view );
>  hildon_app_notify_view_changed( data->app, data->browser_view );
>  ret =osso_rpc_run_with_defaults(data->osso,
> "osso_browser","plug_new_window", NULL,
>                 DBUS_TYPE_UINT32,
> hildon_app_find_view_id(data->app,data->browser_view),
>           DBUS_TYPE_STRING, "file://localhost/media/mmc1/test_page.html",
>                     DBUS_TYPE_STRING, NULL,
>           DBUS_TYPE_BOOLEAN, TRUE,
>                     DBUS_TYPE_BOOLEAN, FALSE,
>           DBUS_TYPE_STRING,
> "com.nokia.osso_browser",                             
> DBUS_TYPE_INVALID);
>  if (ret != OSSO_OK) {
>          gtk_infoprint(GTK_WINDOW(data->app), "Browser launch failed");
>     }
>
> <---------------------------------------------------------------------->
>
> Something is going therribly wrong but I have no idea whatsoever about
> the error:( I'd also be interested in knowing if videoplayer has
> similar interface available.
>
> Thanx,
> -mp
>
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers

I am not so sure about the URL I always get confused by the number of
slashes etc maybe that is something you can try playing with ;)

Devesh



More information about the maemo-developers mailing list