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

From: maukka maukkanen mapes__ at hotmail.com
Date: Tue Jan 3 11:12:46 EET 2006
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/


More information about the maemo-developers mailing list