×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    13

    Problem in javax.microedition.lcdui.List.deleteAll()

    Hi all,
    I wrote an application with WTK2.5.2 which used javax.microedition.lcdui.List.deleteAll().
    Now, after installing WTK2.5.2_01, I am not able to compile my code
    It says, method deleteAll() undefined

    Is anybody aware of the changes in WTK2.5.2_01 ?

    Can anybody please help me in getting to the cause of problem.

    Thanks in advance,
    Abhay

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Problem in javax.microedition.lcdui.List.deleteAll()

    Which JARs are you compiling with? Have you looked at the class definitions in the JAR?

    You can check by:

    Code:
    javap -classpath \wtk2.5.2\lib\midpapi21.jar javax.microedition.lcdui.List
    My handy hint is: never install a new SDK in the middle of a project.

    Cheers,
    Graham.

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    13

    Re: Problem in javax.microedition.lcdui.List.deleteAll()

    hey hi Graham,
    Thanks a lot !!
    Problem was in the jar file I had included. midpapi10.jar was included by mistake and this does not contain deleteAll().
    I removed it and included the appropriate one from my eclipse buildpath.
    Thanks again
    Regards,
    Abhay

  4. #4
    Nokia Developer Champion
    Join Date
    Sep 2007
    Posts
    915

    Re: Problem in javax.microedition.lcdui.List.deleteAll()

    Quote Originally Posted by dandekar.abhay View Post
    hey hi Graham,
    Thanks a lot !!
    Problem was in the jar file I had included. midpapi10.jar was included by mistake and this does not contain deleteAll().
    I removed it and included the appropriate one from my eclipse buildpath.
    Thanks again
    Regards,
    Abhay
    Thats true. I even found this issues by testing devices which have midp 1.0.

Similar Threads

  1. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  2. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  3. WAP service problem on Apache
    By bigg_o in forum Browsing and Mark-ups
    Replies: 3
    Last Post: 2005-04-17, 16:05
  4. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36

Posting Permissions

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