• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

difficulties for lauching process by platformRequest( )

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic