×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2012
    Posts
    1

    [moved] No Class Def Found Error For getting Cell Id.

    When I try to get Cell Id on Nokia 2730 classic which run on Series 40 5th edition I got "No Class Def Found Error". It works fine on the emulator; returns null but not on the nokia device.
    Please help!!!!!

  2. #2
    Nokia Developer Expert
    Join Date
    May 2012
    Posts
    224

    Re: [moved] No Class Def Found Error For getting Cell Id.

    Hi Dreamsoft and Welcome to Nokia discussion boards,

    Nokia 2730 classic is based on Series 40 5th Edition, Feature Pack 1, and "com.nokia.mid.cellid" system property is available only in the manufacturer and operator domains. See the more information about system properties here

    you can over come "No Class Def Found Error" in device by signing your midlet. you can read more about Java Security Domains

  3. #3
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: [moved] No Class Def Found Error For getting Cell Id.

    Hi Dreamsoft ! Welcome to Nokia Developer Discussion Boards!!

    Just to make it clear for you : You can make use of this property 'with out' Manufacturer/Operator signing in Series 40 devices that supports Java Runtime 1.0.0, where as from Series 40 5th Edition FP1 to Series 40 6th Edition FP1, this property is available only in the Manufacturer and Operator domains.

    Regards
    Gopal

  4. #4
    Nokia Developer Expert
    Join Date
    Aug 2011
    Posts
    555

    Re: [moved] No Class Def Found Error For getting Cell Id.

    ...and I would like to add that signing will not help you make your application work on Nokia 2730 classic. By signing, you access the 3rd party trusted domain, not the operator or manufacturer domain. Practically as balagopalks said, you would need a Series 40 device with Java Runtime 1.0.0 or higher. If uncertain about what devices support this, please use expert search and modify APIS > Java Runtime "must be equal to" and select either Java Runtime 1.0.0, Java Runtime 1.1.0 or Java Runtime 2.0.0 for Series 40.

    You would need a similar device (Series 40 with Java Runtime 1.0.0 or higher) if you attempt to retrieve Cell-ID based information from the Location API.

Similar Threads

  1. No Class Def Found Error
    By ajitkumar26 in forum Mobile Java General
    Replies: 4
    Last Post: 2011-09-20, 16:02
  2. No Class Def Found Error
    By itg2 in forum Mobile Java General
    Replies: 6
    Last Post: 2009-07-13, 18:57
  3. Replies: 1
    Last Post: 2009-05-18, 18:58
  4. No Class Def Found Error
    By mixmastermurf in forum Mobile Java General
    Replies: 9
    Last Post: 2008-04-08, 17:54
  5. No Class Def Found Error
    By NFC_Man in forum Mobile Java General
    Replies: 2
    Last Post: 2007-11-29, 14:11

Posting Permissions

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