This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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.
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!