Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User mihirp's Avatar
    Join Date
    Sep 2010
    Location
    India
    Posts
    61
    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
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    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 mihirp's Avatar
    Join Date
    Sep 2010
    Location
    India
    Posts
    61
    @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
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    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. Replies: 6
    Last Post: 2010-11-09, 12:34
  2. Replies: 7
    Last Post: 2010-07-19, 08:28
  3. Check if phone is being used or not (also not in sleep mode or not)
    By onur_ersen in forum Symbian Web Runtime
    Replies: 6
    Last Post: 2009-05-29, 14:35
  4. 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
  5. 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: 2
    Last Post: 2006-10-26, 23:19

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