×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    4

    Question How to Open Existing Instance ? (Harmattan MeeGo)

    Hi everybody,

    I just made my application become Single Instance but now what I want is when user click the icon again, the existing one that already opened should show up. What happening is that when I click the icon, nothing happen. Is there anyway?

    Thank you

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2009
    Posts
    1,024

    Re: How to Open Existing Instance ? (Harmattan MeeGo)

    In theory it should work out of the box if you use the procedure described at http://developer.qt.nokia.com/wiki/S...n_Applications

  3. #3
    Registered User
    Join Date
    Jun 2011
    Posts
    8

    Re: How to Open Existing Instance ? (Harmattan MeeGo)

    I have tested the method described by gnutton, it makes the application single instance. But doesn't open the current instance when the launcher is clicked. Anyone achieves this?

  4. #4
    Registered User
    Join Date
    Jun 2011
    Posts
    1

    Re: How to Open Existing Instance ? (Harmattan MeeGo)

    Quote Originally Posted by SaiHtun View Post
    I have tested the method described by gnutton, it makes the application single instance. But doesn't open the current instance when the launcher is clicked. Anyone achieves this?
    I too am facing the same issue, were you able to fix this @SaiHtun? Any help is appreciated, please. Thanks.

  5. #5
    Nokia Developer Moderator
    Join Date
    Mar 2009
    Posts
    1,024

    Re: How to Open Existing Instance ? (Harmattan MeeGo)

    Hi,
    I executed "invoker --single-instance --type=d /opt/myApp/bin/myApp" in the device console and it worked as expected. It raises the app if in background.
    So, what firmware version do your run on your device?

Similar Threads

  1. Accessing ShareUI on Harmattan/MeeGo ?
    By mac1ej in forum Nokia N9
    Replies: 34
    Last Post: 2012-03-23, 02:49
  2. MeeGo Sharing Framework plugin in Harmattan
    By kulve in forum Nokia N9
    Replies: 25
    Last Post: 2012-03-06, 11:09
  3. Single instance (Meego harmattan)
    By kompotFX in forum Nokia N9
    Replies: 2
    Last Post: 2011-08-11, 08:44
  4. QtComponents with MeeGo Harmattan problem - InfoBanner
    By molbal in forum [Archived] Qt Quick
    Replies: 3
    Last Post: 2011-08-02, 19:41
  5. Sources of Widgets Galleries for MeeGo 1.2 Harmattan
    By svlasov in forum [Archived] Qt SDKs and Tools
    Replies: 0
    Last Post: 2011-07-07, 13:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •