×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2012
    Posts
    46

    using QTimer to woke up application

    Hi,

    I'm need to do some stuf at specific time. In Android I use AlarmManager to do this but in qt I don't know how to do it. With in my experience with qt, QTimer::singleShot stops when application closed, but I need to make it run after my application closed. I will run application on background but i really don't want to see my application on open application screen.

    Thanks for any help.

  2. #2
    Regular Contributor
    Join Date
    Mar 2012
    Posts
    144

    Re: using QTimer to woke up application

    hi
    please define, is your app really closed or just go into background?
    for sure, you cant execute code (QTimer call) of an closed app
    I think you have to put your app in backgraund and find an twiks to make your application non-visible in multitask screen

    btw, what kind of application you writing? virus?

  3. #3
    Registered User
    Join Date
    Jan 2012
    Posts
    46

    Re: using QTimer to woke up application

    Not virus I write an application that needs to get some information on specific times. I don't think it is a big deal if application shown in open application screen but my boss doesn't think so

  4. #4
    Registered User
    Join Date
    Jan 2012
    Posts
    46

    Re: using QTimer to woke up application

    I didn't answer the important question , I want my application to close not stay background but I think it isn't possible to do such a think in symbian. I asked if there is such a think like Android's AlarmManager

  5. #5
    Registered User
    Join Date
    May 2011
    Posts
    35

    Re: using QTimer to woke up application

    Why do you want your application to close? Symbian has a proper, full-fledged multi-tasking implementation, unlike Android, so you can just define this functionality as part of a Symbian server which doesn't have a UI and configure it to launch when the phone boots.

Similar Threads

  1. Problem using Qtimer
    By fareenafatima in forum Qt
    Replies: 1
    Last Post: 2010-12-24, 01:32
  2. Qtimer Query
    By jainmonali21 in forum Qt
    Replies: 13
    Last Post: 2010-06-21, 19:02
  3. QTimer Example
    By prathibha83 in forum Qt
    Replies: 4
    Last Post: 2010-05-02, 13:49

Posting Permissions

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