6. Starting MIDlets Automatically

ONE way a MIDlet comes to life is when a person chooses to run it. In this chapter, you’ll find out other ways that a MIDlet can be launched.

  • Incoming network connections can start a MIDlet. For example, a Short Message Service (SMS) message arriving on a certain port or an incoming socket connection could launch a MIDlet.

  • MIDlets can request to be started at a specific time.

  • MIDlets can respond to specific types of content. For example, an audio player MIDlet can be set to handle one or more audio file types. Other applications can ask the device to launch a MIDlet to handle a certain type of content.

6.1. Responding to Network Connections

MIDP defines a push registry so that incoming network connections can ...

Get Kicking Butt with MIDP and MSA: Creating Great Mobile Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.