×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2010
    Location
    India
    Posts
    200

    Question Find Running Process in J2ME

    Hello Friends,
    I'm going to make application like task manager
    so i want to know, How I can find running processes in background in J2ME devices.
    thanks & Regards.
    Nilesh

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,561

    Re: Find Running Process in J2ME

    You can't. At least not directly, as there are no such facilities provided by J2ME. The whole idea of Java is to isolate apps from each other and the host operating system in a virtual "sandbox".

    If you have a Symbian based phone, then you can write a Symbian app/server, with which a MIDlet can talk (over a local TCP/IP socket connection, for example) and have the Symbian app find out info about processes, and such, and return the info to the MIDlet. Problem is: You need to write and install both apps, before it is possible.

    In other words, you can't really use J2ME to write a task manager style app.

  3. #3
    Registered User
    Join Date
    Jun 2010
    Location
    India
    Posts
    200

    Re: Find Running Process in J2ME

    thanks for reply,
    I just Want to see running processes...
    i dont want to excute or kill processes...
    thanks & Regards.
    Nilesh

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Find Running Process in J2ME

    Quote Originally Posted by nyerunkar View Post
    Hello Friends,
    I'm going to make application like task manager
    so i want to know, How I can find running processes in background in J2ME devices.


    I just Want to see running processes...
    i dont want to excute or kill processes...
    J2me does not provide any system process info API's which can be used to see who many apps or which apps or processing are currently running - so even if you able to run a background midlet - it cannot get to see these running processes.

    The only workaround will be use Symbian server for Symbian phones to get this info for your j2me app - as petrib suggested.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  5. #5
    Registered User
    Join Date
    Jun 2010
    Location
    India
    Posts
    200

    Re: Find Running Process in J2ME

    thnx........................
    thanks & Regards.
    Nilesh

Similar Threads

  1. [ASK] 2 running process at the same time??
    By Anata in forum Symbian
    Replies: 8
    Last Post: 2009-07-30, 00:04
  2. Replies: 5
    Last Post: 2009-03-10, 07:17
  3. Running as a background process
    By Kulendra in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-05-27, 05:36
  4. Running as a background process
    By Kulendra in forum Mobile Java General
    Replies: 0
    Last Post: 2005-05-23, 12:47
  5. Running a process in Background
    By vcribe in forum Symbian User Interface
    Replies: 2
    Last Post: 2005-04-26, 06:40

Posting Permissions

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