You Are Here:

Community: Developer Discussion Boards

#1 Old Storing class files in MIDP RMS?? - 2009-02-16, 12:46

Join Date: Feb 2009
Posts: 1
java-dev
Offline
Registered User
Hi,

1. Is there any way of storing class files in midp RMS which are downloaded over the air within a midp application?
2. And read these classes and use them in the application??

Personally I am not convinced that it's possible, even if we can store classes then how we can use them?? Just thought nothing wrong in posting, wanted to know other developers views, some people might got around it.

Regards,
java-dev.
Reply With Quote

#2 Old Re: Storing class files in MIDP RMS?? - 2009-02-16, 13:13

Join Date: Jun 2003
Posts: 4,325
Location: Cheshire, UK
grahamhughes's Avatar
grahamhughes
Offline
Forum Nokia Champion
You can download and store anything you like.

But, since you can't write your own ClassLoader (there is no ClassLoader to override), there is no way to take an array of bytes and turn it into a runtime class.

You can only execute the code that comes in the JAR.

Cheers,
Graham.
Reply With Quote

#3 Old Re: Storing class files in MIDP RMS?? - 2009-02-16, 21:41

Join Date: Mar 2003
Posts: 38
Location: Russia, Saint-Petersburg
raydac
Offline
Registered User
it is impossible to do that by the standard way with a ClassLoader, because class loaders are not supported by MIDP
it is possible only if you have a "KVM over KVM" mechanism, so you can play Java classes as scripts and save them in RMS


A lot of useful things for a mobile developer on http://www.igormaznitsa.com
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
Similar Threads
Thread Thread Starter Forum Replies Last Post
RMS record sizes. earamsey Mobile Java General 1 2007-10-18 14:51
Saving audio files from RMS to phone storage a_nemoff Mobile Java Media (Graphics & Sounds) 4 2006-05-17 20:04
Http connection problem in 6310i teahola Mobile Java General 1 2002-10-03 19:46
Do Nokia MIDP phones support transparent PNG files? Is Nokia planning to im ask_expert Mobile Java General 1 2002-05-10 16:13

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