Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difficulties for lauching process by platformRequest( )

 
zaatri wahab
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic