• 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

Process ...

 
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

In J2SE there is a way to fire up processes using the Runtime and Process classes.

Is there an equivalent technique to use in J2ME ?

I have this form of web-page names shown using ChoiceGroup, the thing i want to is that when i click on a choice, it automatically opens that page for me.

I was wondering if i can do that without using the embedded explorer of my cell-phone (using a process that fires up the explorer passing the address of my web-page).

Thanks in advance ...
 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Technically you can achieve your goal but not by firing "processes":

1-You can use MIDlet.platformRequest(URL) so that the URL is loaded by the phone's brower.
The MIDlet may also have to exit for this to happen (see the Javadoc).

2-If you don't want it done by the phone's browser, you can think of firing a MIDlet in the same MIDlet suit by using Push Registry alarms and some form of indicating the URL to the other MIDlet (eg using RMS will work on any device). See the PushRegistry javadoc and MIDP specs.
[ March 25, 2007: Message edited by: Eduardo Marques ]
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Eduardo,

Thank you so much, it's a great guide.

Thank you again ...

Best of luck ...
 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Marques /Vladimir,

I dint get what you meant by the second option..

Please explain if possible
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What I meant was that one can schedule the launch of another MIDlet by using PushRegistry.registerAlarm().

Regards
[ March 25, 2007: Message edited by: Eduardo Marques ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic