by April, 10, I have posted a message concerning how to lauch a process by means of a midlet under J2Me,MIDP. I have got a response proposing to use: platformRequest(String). I have tested this command successfully for lauching webpages but It did not work for lauching programs such as "java myprog" I seems that the process cannot lauch the dos prompt and therefore the application hangs at this stage. The outputted message is: Performing platformRequest for url: myprogramname. If someone can propose a simple exemple of a midlet that only lauches myprogram, it will be nice. Thanks for your help wahab
One post is enough. Attempting to launch a random process is out of scope for Java ME and not something that should be expected of the platform request.
The are many reasons why the code that you posted is not viable for a mobile device. Please review the documentation on platformRequest. It will give you the insight you need to assess the viability of attempting to launch a random process through the platformRequest facility.