×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2010
    Location
    India
    Posts
    61

    Exclamation Find application mode, is it idle or not

    Hello i want to send stored rms data using http connection when application is on idle mode

    so when user is not doing anything with application at that time my thread will invoke and send RMS data to server

    for this requirement i need to know how to find application is weather in active mode or idle mode.

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: Find application mode, is it idle or not

    Quote Originally Posted by mihirp View Post
    for this requirement i need to know how to find application is weather in active mode or idle mode.
    You can keep on checking the last key/pointer pressed time and if this is more than a particular time, you start the serer communication and start uploading the RMS data which you have to read from the RMS. Other than this there is no specific API to get that whether the app is in idle or active state.

    Please check if this suites to your need,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Registered User
    Join Date
    Sep 2010
    Location
    India
    Posts
    61

    Re: Find application mode, is it idle or not

    @Raj thanks for your kind help.
    i am thinking on some other way. if i found that screen lights are off which generally set off after 15-20 sec idle state

    so if i am able to get screen light status i can do my task easy
    is it possible to get screen light status?? how??

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: Find application mode, is it idle or not

    Quote Originally Posted by mihirp View Post
    so if i am able to get screen light status i can do my task easy
    is it possible to get screen light status?? how??
    Yeah your idea is also good, however you can only make the back light ON and OFF but you can not get the status of the same. Therefore I wonder if this can be done by following the Back light concept.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. is it any function provided by J2ME can check the mobile network is available or not?
    By mrrajesh_1982 in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2013-06-20, 09:01
  2. Replies: 6
    Last Post: 2010-11-09, 12:34
  3. Replies: 7
    Last Post: 2010-07-19, 08:28
  4. Replies: 6
    Last Post: 2009-05-29, 14:35
  5. How to find if it is a simulator or real phone?
    By birAdam in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2006-11-09, 08:11

Posting Permissions

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