This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!