×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    9

    residen memori application

    hi,
    i want to create a memory resident application.
    I need an application which runs forever (like a windows service or like application which loads at windows starts) and responses an specific action when the user clicks a specific device button
    theres a way to do it with java.
    that i want to create its a security hazard, when the user clicks a celular key it activates the app. and it response to a server.
    Hope understand
    Regards

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: residen memori application

    Not possible with Java ME (you can put the MIDlet in the background on S60, but it cannot wake up by button presses).

    On S60 phones you could use Symbian C++ and likely also Python for this.

    Hartti

  3. #3
    Registered User
    Join Date
    Nov 2008
    Posts
    9

    Re: residen memori application

    ok, how can i set the midlet in background even it can't response to any key(how do i wake up the bakcrounded app. then)?.
    What another approach can i use to achive that behaviour?

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

    Thumbs up Re: residen memori application

    Hi,
    Following code can be used to send MIDlet to background:

    Display display = Display.getDisplay(myMIDletClass);
    display.setCurrent(null);

    The setCurrent(null) doesn't set the displayable to null but is used in Java ME implementations that support concurrent applications like S60 to send the foreground application to background (on Series 40 phones this approach does not work). The application that is shown is the last application that was shown before the MIDlet got activated.

    for the second point -
    http://java.sun.com/javame/reference.../policies.html
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. AutoStart My application at bootup
    By prakashs in forum Symbian
    Replies: 7
    Last Post: 2009-03-24, 10:06
  2. Replies: 37
    Last Post: 2008-07-16, 05:17
  3. Replies: 4
    Last Post: 2008-07-15, 11:37
  4. Replies: 1
    Last Post: 2008-05-08, 12:32
  5. Replies: 0
    Last Post: 2005-05-28, 10:20

Posting Permissions

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