• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Launching an app from a midlet?

 
Phil Brumby
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.
 
Alexander Mastilovic
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, MIDLets aren't supposed to start other applications
 
Eduardo Marques
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()
 
gsd
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic