You Are Here:

Community: Developer Discussion Boards

#1 Old launching MIDlet from another MIDlet on 6310i problem - 2002-07-29, 12:03

Join Date: Mar 2003
Posts: 12
Send a message via ICQ to niko86
niko86
Offline
Registered User
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
Reply With Quote

#2 Old RE: launching MIDlet from another MIDlet on 6310i problem - 2002-08-07, 10:38

Join Date: Mar 2003
Posts: 12
Send a message via ICQ to niko86
niko86
Offline
Registered User
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 With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia