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.
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
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.
thanks for reply,
I just Want to see running processes...
i dont want to excute or kill processes...
thanks & Regards.
Nilesh
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.
thnx........................
thanks & Regards.
Nilesh