Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User LyhjeHylje's Avatar
    Join Date
    Jul 2007
    Posts
    16
    I am having a little problem when launching widget from anther widget. The launcher-widget does not close afterward. I think that problem has something to do widget framework since after launching native application my widget closes as it should? (I did try the asynchronous launch but for some reason window.close did not work from callback)

  2. #2
    Nokia Developer Champion jappit's Avatar
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,391
    Hi LyhjeHylje,

    I've experienced this behavior on similar scenarios. In some cases the following code did close the widget, where the plain window.close() did not:
    Code:
    setInterval('window.close()', 100);
    Hope it helps,
    Pit

  3. #3
    Registered User LyhjeHylje's Avatar
    Join Date
    Jul 2007
    Posts
    16
    Quote Originally Posted by jappit View Post
    Hi LyhjeHylje,

    I've experienced this behavior on similar scenarios. In some cases the following code did close the widget, where the plain window.close() did not:
    Code:
    setInterval('window.close()', 100);
    Hope it helps,
    Pit
    Thank you, it does help but only little: launcher-widget stays on background and closes immediately when I bring it foreground again.
    There is something else that's strange, I moved the close-function to callback and with some applications (paint, maps) it is called but with widgets and camera not. Maybe I need to update my fw.

  4. #4
    Registered User LyhjeHylje's Avatar
    Join Date
    Jul 2007
    Posts
    16
    I modified the appmanager sample widget that comes with N97 SDK, it behaves exactly the same.
    Maybe this is a problem in wrt itself?

Similar Threads

  1. Replies: 5
    Last Post: 2011-10-17, 17:39
  2. Problem creating home screen widget
    By vijaygopal12345 in forum Symbian Web Runtime
    Replies: 4
    Last Post: 2009-05-15, 08:53
  3. Home Screen Widget Problem
    By quangtrung89 in forum Symbian Web Runtime
    Replies: 3
    Last Post: 2009-05-13, 15:54
  4. problem loading wrt widget in emulator
    By asshaikh432 in forum Symbian Web Runtime
    Replies: 4
    Last Post: 2009-05-06, 13:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved