I bumped into a problem launching native Nokia Gallery (N950/N9 phone) via DBus.
I used such code:
It works fine on the first run. But if Gallery is already running nothing is happening. I expected that Gallery will come to top and my application will minimize.Code:QProcess::execute("/usr/bin/dbus-send --type=method_call --dest=com.nokia.Gallery /com/nokia/Gallery com.nokia.Gallery.LaunchApplication");
I tried to use trick from N900 (Maemo5), I called top_application instead LaunchApplication, but attempt is failed, behavior isn't changed...
Question: how to move Nokia Gallery to top from my application if Gallery is already running?