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
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
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.
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
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).