Hello, all.
I need to launch web browser from the code. How could I do it? I tried to
launch it using dbus. Actually I used maemo dbus code:
QDBusMessage m = QDBusMessage::createMethodCall(
"com.nokia.osso_browser",
"/com/nokia/osso_browser/request",
"com.nokia.osso_browser",
"open_new_window");
m = QDBusConnection::systemBus().call(m);
Unfortunately it doesn't work. I checked /usr/share/dbus-1/services and didn't
find any service that could launch browser.
I added file called com.nokia.osso_browser.service to
/usr/share/dbus-1/services and still fails to launch it with the same error as
earlier:
Error org.freedesktop.DBus.Error.ServiceUnknown: The name
com.nokia.osso_browser was not provided by any .service files.
The code inside of com.nokia.osso_browser.service file is:
[D-BUS Service]
Name=com.nokia.osso_browser
Exec=/usr/lib/fennec/fennec
So, if I did something wrong or there is better (other?) way to do it, please
explain me.
I use N900 and meego-handset-armv7l-n900-devel-1.1.80.9.20101207.1-mmcblk0p
image.
Br,
Ivan.
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev