Reply
Thread Tools
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#11
Originally Posted by qwerty12 View Post
If you've created an osso_context and have set the X-Osso-Service field in the desktop file correctly, Hildon Desktop will call the "top_application" mehod on an already running instance instead of starting a new one.
This is also a problem with the Sygic Maps program...
Instead of bringing an instance that is running in the background forward and back into full screen when the desktop shortcut is touched, it will open a new instance... Not a good thing.

This also explains why when it is closed from the minimized state, it doesn't save any changes that were made during the running of that instance.

I was hoping that at least the multiple instances problem could be solved by a user hack to the .desktop file.
__________________

SLN member # 009
 

The Following User Says Thank You to YoDude For This Useful Post:
Venemo's Avatar
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#12
Anyone has any ideas about how to do this with Qt?
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#13
Originally Posted by jarmniku View Post
Sounds reasonable, but I haven't. Maybe I can do that, any pointers to a simple example?
http://vcs.maemo.org/svn/maemoexampl...aemo-examples/ -- look at libosso_* and the Makefile to see where the service file should be installed. The example is a little lengthy for this purpose, but 'twas the best I could find. You need osso_initialize

@Venemo

Grab the FreOffice source. It has the QDBus equiv. to all this.
 
Venemo's Avatar
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#14
Okay, a late post for an old thread: the QtSingleApplication solution from the Qt devs does exactly this.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:39.