Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User waiman1114's Avatar
    Join Date
    Jun 2009
    Posts
    13
    I want to develop a application which should have ability to run in background and continue polling remotes server to fetch data. The application then generate alerts based on criteria meet by the utility. Is there anyway to achieve this?

  2. #2
    Super Contributor grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    On what device(s)?

  3. #3
    Registered User waiman1114's Avatar
    Join Date
    Jun 2009
    Posts
    13
    S60 5th Ed

  4. #4
    Super Contributor grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    OK. If you search the forum, you will find other discussions about this subject.

    Basics you will need to know:

    1. Use Display.setCurrent(null) to push your application into the background. Note that this is not strictly part of the MIDP standard, and will not work on all devices. However, it does seem to work on Series 60 (and some other) devices.

    2. Older Series 60 devices push the app into the background when the red-key is pressed. However, this was changed in later versions, so that the red-key now terminates the app. You can force Series 60 devices back to the old behaviour by adding:

    Code:
    Nokia-MIDlet-No-Exit: true
    to the JAD.

    3. Many actions, such as connecting to the network, are subject to security restrictions. Depending on the security settings (selected by the user in the device's Application Manager), the device will ask the user for permission before proceeding. Depending on device, it might be possible to disable these by signing the application with a trusted certificate (which will cost you money), but it also might not be possible.

    Graham.

Similar Threads

  1. nokia (run camera in background) application development
    By vijay2008 in forum General Development Questions
    Replies: 5
    Last Post: 2009-08-07, 10:15
  2. Running a background application in s40 plattform.
    By arul_nokia in forum Mobile Java General
    Replies: 2
    Last Post: 2009-03-30, 11:22
  3. Раскладка клавиатуры в консоли
    By arkenoi in forum Russian Developer Forum - Форум Российских разработчиков
    Replies: 11
    Last Post: 2009-03-18, 18:27
  4. Handling Key events in background running application !!
    By sanjayrajwani in forum Symbian C++
    Replies: 1
    Last Post: 2008-04-24, 14:23
  5. Replies: 3
    Last Post: 2007-03-13, 21:13

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