| Reply | « Previous Thread | Next Thread » |
|
Hi!
I'm developping a client for mobile phone and this MIDlet needs to launch a second MIDlet included in the same MIDlet suite. So, using Class.forname("myclass") and calling a new Instance of it, I encountered the following error message on the Nokia 6310i: "Java/lang/SecurityException MIDlet Manager ERROR : Illegal attemp to construct WebMIDlet@d590dbc" where WebMIDlet is the name MIDlet I want to launch. Does somebody know why this error occurs ? 1- Can we launch a MIDlet from another one in 6310i ? 2- Is it a question of size of the MIDlets ? 3- other explication thx a lot for help |
|
If somebody is interesting in this message, I found some article explaining that nowadays, it is impossible to use this Class.forname on small devices because of a security problem (java.lang.security is not entirely implemented on small devices because of the size of this class)
A way to launch another MIDlet from a first one is to included all this MIDlet in the first : the code will quite heavy but it works. Niko |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|