×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    38

    how to make console application in j2me that runs in background

    Hi frens,

    Can anyone please tell me how to make console application in j2me that runs
    in background.i am new bie in j2me so please help me out.


    Regards-
    Ritu Singh

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

    Thumbs up Re: how to make console application in j2me that runs in background

    Quote Originally Posted by ritusingh View Post
    Hi frens,

    Can anyone please tell me how to make console application in j2me that runs
    in background.i am new bie in j2me so please help me out.


    Regards-
    Ritu Singh
    Hello ritusingh,

    Yeah you can run the app in background in S60 devices but not in S40 devices.
    you can use
    Display.getDisplay(midlet).setCurrent(null);
    And again to set the app in foreground
    Display.getDisplay (this).setCurrent (myCanvas);

    And to set the app in foreground can be done on events like the specific time period or on incoming SMS intervention. For that you can read the push registry.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    69

    Re: how to make console application in j2me that runs in background

    Hii,
    Background applications will not work on all the devices. What's your requirement for such appliaction can u explain so that u can find any alternate solution for that.

  4. #4
    Registered User
    Join Date
    Dec 2009
    Posts
    38

    Re: how to make console application in j2me that runs in background

    thanks a lot for ur quick reply.....

    i am developing an application in j2me.
    for that i want to make a application that runs in background.
    and when particular key is pressed on device i have to call another
    midlet.
    i am making this application for s60 devices.

    Regards-
    Ritu Singh

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

    Re: how to make console application in j2me that runs in background

    Hello,

    Yea, what you are looking for is quite possible.
    Just try whatever we have suggested to you,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  6. #6
    Registered User
    Join Date
    Dec 2009
    Posts
    38

    Re: how to make console application in j2me that runs in background

    thanks for ur reply...

    but can you please tell me how on particular key event
    another midlet will be launched.

    Regards-

    Ritu Singh

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

    Thumbs up Re: how to make console application in j2me that runs in background

    Hello,
    You have to make the midlet suite for the same purpose. And then you can do midlet to midlet invocation. This topic has already been discussed lots of times and for more details you can refer the links,
    http://discussion.forum.nokia.com/fo...t=start+midlet
    and here
    http://discussion.forum.nokia.com/fo...ad.php?t=76059

    I am more then sure that these links will help you,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  8. #8
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: how to make console application in j2me that runs in background

    Quote Originally Posted by ritusingh View Post
    i want to make a application that runs in background.
    and when particular key is pressed on device i have to call another
    midlet
    You will not be able to receive key events while the application is in the background. Only a foreground application can interact with the user.

    You cannot launch one MIDlet from another.

    Graham.

  9. #9
    Registered User
    Join Date
    Dec 2009
    Posts
    38

    Re: how to make console application in j2me that runs in background

    thanks for ur reply.....

    i want to know that is it possible to call one midlet from another midlet.
    if yes what is the procedure of it and other midlet is called at particular
    event and the previous midlet should run in background of the application.


    Regards-

    Ritu Singh

Similar Threads

  1. S60 5th Edtion SDK faild compile
    By granan in forum Symbian Tools & SDKs
    Replies: 11
    Last Post: 2009-11-03, 16:19
  2. How to make run console application infintely....
    By santu.paul@gmail.com in forum Symbian
    Replies: 21
    Last Post: 2008-12-22, 09:34
  3. Replies: 2
    Last Post: 2008-11-07, 12:33
  4. Replies: 3
    Last Post: 2006-08-17, 10:48
  5. Replies: 0
    Last Post: 2004-05-08, 17:26

Posting Permissions

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