×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    1

    Сompatibility of Java Platforms

    Hi

    I'm interesting in question of compatibility of Java platforms. Is it right that if I have application for Nokia 6300 (Series 40 3rd Edition, Feature Pack 2 (MIDP 2.0, CLDC 1.1)) it will work also at such platforms:

    • MIDP 2.1, CLDC 1.1
    • Series 40 2nd Edition
    • Series 40 3rd Edition
    • Series 40 3rd Edition, Feature Pack 1
    • Series 40 3rd Edition, Feature Pack 2
    • Series 40 5th Edition
    • Series 40 5th Edition LE
    • Series 40 5th Edition, Feature Pack 1
    • Series 40 5th Edition, Feature Pack 1 LE
    • Series 40 6th Edition
    • Series 60 2nd Edition, Feature Pack 2
    • Series 60 2nd Edition, Feature Pack 3
    • Series 60 3rd Edition
    • Series 60 3rd Edition, Feature Pack 1
    • Series 60 3rd Edition, Feature Pack 2



    And even on Java platforms of SE:

    • Java Platform 5
    • Java Platform 6
    • Java Platform 7
    • Java Platform 8
    • and UIQ 3.0


    I think so because all these platforms have MIDP 2.0, and CLDC 1.1 and higher

    Am I right?

    Thank You for answers and sorry for my English=)

  2. #2
    Regular Contributor
    Join Date
    Jul 2003
    Posts
    89

    Re: Сompatibility of Java Platforms

    It will depend upon how the application is designed. For example if low level UI is involved then if the application is not programmed to accomodate that it will appear differently at different screen sizes.

    Same goes for other operations such as native functionality access e.g. camera etc or file access. Your application will have to check for these and then call necessary code accordingly.

    Have a look at implementation notes section in Forum Nokia JavaME developers Library. it will show you how same functionality can differ from S60 to S40

    http://www.forum.nokia.com/document/...4E0220B77.html

  3. #3
    Nokia Developer Expert
    Join Date
    May 2007
    Location
    Mexico D.F
    Posts
    351

    Re: Сompatibility of Java Platforms

    Hello

    Each platform adds more and more functionallity and JSR.
    CLDC is a complete subset of J2SE 1.4.
    MIDP is device dependant and it's out of J2SE.
    Some JSRs are subset of their desktop counterpart but some of them are device specific too.

    Besides Java 5 adds some keywords that might create conflict if you don't check first, as the "enum" keyword... and some others too.

    I would say the code performing some logic not device dependant should be portable. Otherwise you need to check the JSRs you use are implemented in each platform.
    :Ruben

Similar Threads

  1. -- Java development for S80 with Eclipse --
    By Kalypso in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2011-03-17, 10:35
  2. GUI Libraries for Java ME
    By erik.hellman in forum Mobile Java Media (Graphics & Sounds)
    Replies: 5
    Last Post: 2008-04-11, 11:56
  3. Why is Java the Language of Choice of Most Mobile Game Developers and Not C++?
    By lightninglord2000 in forum General Development Questions
    Replies: 3
    Last Post: 2008-02-19, 18:00
  4. J2ME MIDlet is limited, why not Java applications on mobile?
    By chen_lin99 in forum Mobile Java General
    Replies: 11
    Last Post: 2007-12-29, 01:15
  5. j2ME, java enabled, and the 3410
    By davidkangaroo in forum Mobile Java General
    Replies: 2
    Last Post: 2002-07-05, 22:30

Posting Permissions

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