Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    35

    Question Extending M3G IndexBuffer class using Nokia IDE 2.0

    Dear All,

    I'm trying to extend IndexBuffer abstract class and the nokia IDE shows "Implicit super constructor IndexBuffer() is undefined. Must explicitly invoke another constructor." error.



    When I try to follow the solution suggested by the IDE then it throws "The constructor IndexBuffer(int) is not visible" error.



    I guess that it is an IDE problem rather then the code. Do you know how to solve this problem?

    Kindest regards,

    Carlos.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,807

    Re: Extending M3G IndexBuffer class using Nokia IDE 2.0

    For the visibility part, you can try putting your class into the javax.microedition.m3g package. That may compile at least, but I do not know what will happen later.
    Note that it is absolutely not sure that M3G implementations are designed for 3rd-party extensibility. For example in the public (inter)face of IndexBuffer there is no constructor.

Similar Threads

  1. Extending Bluetooth Range on Nokia phones
    By KevinBoyd in forum Bluetooth Technology
    Replies: 2
    Last Post: 2009-11-12, 21:04
  2. Extending Nokia PC Suite?
    By SaltyFoam in forum General Development Questions
    Replies: 1
    Last Post: 2008-06-24, 00:44
  3. Extending com.nokia.microedition classes
    By pdm9 in forum Mobile Java General
    Replies: 1
    Last Post: 2005-04-07, 09:40
  4. Extending and Extended class
    By Pandaemonium in forum Mobile Java General
    Replies: 2
    Last Post: 2004-03-09, 10:31

Posting Permissions

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