×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    4

    Adding midlets to midlet suite dynamically

    Hi all,

    Does anybody know how we can dynamically add midlets to midlet suite without reloading the whole application ??

    It will help in adding new features to an existing application without re-installing the whole application.

    thanks
    jai

  2. #2
    Regular Contributor
    Join Date
    Jun 2003
    Location
    Hungary
    Posts
    414
    There is no way to add midlets to a suite.
    If you want to add features you may write a midlet that acts as an interpreter.

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    4
    can u explain what u meant by interpreter.

    thanks

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    He means implementing some sort of scripting language that you're MIDlet can parse and execute and then downloading scripts to add functionality. Not a small feat.

    shmoove

  5. #5
    Regular Contributor
    Join Date
    Jun 2003
    Location
    Hungary
    Posts
    414
    I means exactly what shmoove wrote.

    The implementation highly depends on what you need.
    Suppose that you want to write a "South Park player" then you may write an application that holds the image resources and a parser, then download "movies" in the predefinied format that your application can interpret, eg:

    backround start
    layer:10
    img:sky
    pos:0,0
    backround end
    sprite start
    char:cartman
    pos:20,100
    id: 1
    sprite end
    face: 1,smile
    wait: 10
    face: 1,sad


    If you want to add "real" new features to your application you have to write a much complex interpreter (lets say runtime environment), like an old BASIC, or a veird Java interpreter (what a perversion).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •