aspose file tools*
The moose likes Java Micro Edition and the fly likes difficulties for lauching process by platformRequest( ) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "difficulties for lauching process by platformRequest( )" Watch "difficulties for lauching process by platformRequest( )" New topic
Author

difficulties for lauching process by platformRequest( )

zaatri wahab
Greenhorn

Joined: May 30, 2007
Posts: 4
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
Rashid Mayes
Ranch Hand

Joined: Jan 11, 2006
Posts: 160
Hello,

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.


Rashid Mayes
http://www.hostj2me.com/ - http://www.worlddeveloper.org/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difficulties for lauching process by platformRequest( )