×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    16

    Detecting Minimization and Maximization process of Application in Meego

    Hello All,

    Is there any procedure to detect whether an application is minimized or maximized. I meant is an application running in background or user is interacting with it.

    Thanks
    Ali Abbas

  2. #2
    Nokia Developer Expert
    Join Date
    Oct 2007
    Posts
    441

    Re: Detecting Minimization and Maximization process of Application in Meego

    Hi

    There is no maximized and minimized mobile application state but foreground and background.

    If you use QML Qt 4.7.4 (=QtQuick 1.1) , check
    Qt.application.active
    if you use QWidget, please check
    bool QWidget::eventFilter(QObject *object, QEvent *event)
    like that:
    Code:
    bool Widget::eventFilter(QObject *object, QEvent *event)
    {
        if (event->type() == QEvent::ActivationChange)
        {
            if (isActiveWindow())
            {
                resume();
            }
            else
            {
                pause();
            }
        }
    
        return QWidget::eventFilter(object, event);
    }

Similar Threads

  1. How to use in-app analytics in Meego application
    By PhoneSoulPL in forum Monetization APIs
    Replies: 4
    Last Post: 2012-02-03, 15:29
  2. Create Process & Blacklist App in MeeGo?
    By prodigy47 in forum Nokia N9
    Replies: 3
    Last Post: 2012-01-03, 10:35
  3. Replies: 2
    Last Post: 2010-10-22, 23:35
  4. sms text minimization...
    By moryaa in forum Mobile Java General
    Replies: 3
    Last Post: 2010-04-30, 12:39
  5. Detecting/Killing "stuck" process.
    By Runguang in forum Symbian
    Replies: 9
    Last Post: 2010-04-08, 05:09

Posting Permissions

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