Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User Sasler's Avatar
    Join Date
    Jan 2010
    Posts
    272
    I'm working on an app that updates data from the internet. I want give the user some feedback that update is in progress.

    How to use the default Maemo 5 "wait" animation? I have in mind that circle with lines.

  2. #2
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    You need to set atom _HILDON_WM_WINDOW_PROGRESS_INDICATOR of type XA_INTEGER with value 1 to your window to enable progress indicator. Then set 0 or remove atom to disable it.

  3. #3
    Registered User Sasler's Avatar
    Join Date
    Jan 2010
    Posts
    272
    Quote Originally Posted by divanov View Post
    You need to set atom _HILDON_WM_WINDOW_PROGRESS_INDICATOR of type XA_INTEGER with value 1 to your window to enable progress indicator. Then set 0 or remove atom to disable it.
    Thanks, but how can I do it? Would someone be so kind to point me to some sample code?

  4. #4
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    You should use Xlib's XChangeProperty, there is an example in Maemo wiki.

  5. #5
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    In case you are using Qt 4.6 there is a wrapper for that:
    Code:
    QWidget::setAttribute(Qt::WA_Maemo5ShowProgressIndicator, true);

Similar Threads

  1. Animation Example 注释
    By hanwen813 in forum Symbian
    Replies: 1
    Last Post: 2010-08-07, 04:32
  2. Replies: 3
    Last Post: 2010-01-12, 20:54
  3. Problem in Bitmap Animation
    By aditighosal in forum Symbian C++
    Replies: 2
    Last Post: 2008-07-22, 07:45
  4. S60 options menu animation
    By comp_freak in forum Symbian User Interface
    Replies: 0
    Last Post: 2007-02-14, 10:39
  5. Http client api, animation delay
    By 1xuname1x in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-10-11, 07:40

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