• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Launching an app from a midlet?  RSS feed

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like the phones calculator, messaging app or say the camera mode

Can it be done from a running midlet? (midp2)

Thanks,
Phil.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, MIDLets aren't supposed to start other applications
 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it is possible ...

Maybe it can be done with the MIDlet.platformRequest() method. This may allow you to start a native app to handle a certain URL. Theoretically, you should be able at least to start a voice conversation or a MIDlet installation. This may start native applications on the device, but it is platform dependent what apps can be started ...

Dunno if it�s useful, but if you want to start a MIDlet (in the same MIDlet suite), then it should be easier ... consider using the Push Registry API: PushRegistry.registerAlarm().
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh ... for details on this check the javadoc for MIDlet.platformRequest() and PushRegistry.registerAlarm()
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not very useful at the moment, but one of the goals of JSR211 (Content Handling API) is to allow users to invoke content handlers. This is generally intended to launch other MIDlets (and directing them to the content to be handled) but some devices may allow proprietary applications to be registered as content handlers is a more generic fashion.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!