J2ME <> Flash - Some ideas:

All of the ideas use a midlet as a SocketServer, listening for commands on a custom port, FlashLite will communicate via loadVariables().

  1. Packaging the SWF in the JAR, and try to launch the SWF with Java, not possible due to sandbox. This would mean we can guarentee both the midlet and the SWF were running.
  2. Launch the midlet with the SWF, path problems from mobile to mobile.
  3. Launch the midlet using the MIDP "Registry-Push", so the midlet is auto-launched when the phone detects traffic on say port 1001 (coming from our FlashLite loadVariables over "localhost"). Problems with security, either when installing the midlet suite, or when running it for the first time (user prompting).
  4. Package the JAR and the SWF inside a Symbian installer .SIS, use a C++ symbian app to launch both the midlet and the SWF. You could just write it all in C++, but I find J2ME much easier. I have not tried this yet, has anyone any experience with creating installers with "makesis"?

Any more?