×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    10

    Post help me:working with polish project

    hi
    i have a new problem in polish project.please help me.

    i want add kxml.zip file to polish project but i can't.
    i have this problem
    C:\Users\mehdi\Desktop\mobile projects\J2ME-Polis\source\src\de\enough\polish\sample\accessible\MenuMidlet.java:29: package org.kxml does not exist
    import org.kxml.Xml;

    i added this zip file to project but not worked.
    how to can i solve this problem?

    best regards


  2. #2
    Regular Contributor
    Join Date
    Dec 2011
    Posts
    174

    Re: help me:working with polish project

    Hi safa55 and welcome to Nokia Developer Discussion boards!

    Have you got he build tag binarylibraries="kxml2-2.3.0.jar" in your build.xml and have you also copied the kxml2-2.3.0.jar file to the j2mepolish import directory.

    Link to download the jar: http://http://sourceforge.net/projec...s/kxml2/2.3.0/

    -tiviinik

  3. #3
    Registered User
    Join Date
    Mar 2012
    Posts
    10

    Re: help me:working with polish project

    thanks tiviinik.

    execuse me.
    i added this file but i cant run.now i have problem in code .
    netbeans cant run it.

    have you an example project?
    if you have example please help me?
    i working with netbeans 6.8.
    Last edited by safa55; 2012-03-17 at 08:47.

  4. #4
    Registered User
    Join Date
    Mar 2012
    Posts
    10

    Re: help me:working with polish project

    no help?
    no help?


    plz help me....

  5. #5
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: help me:working with polish project

    Hi safa55, welcome to the Nokia Developer Boards

    Well that this error is coming due to the reason: Your jar file for the kxml was configured properly and your project is not able to refer as a result. So you need to add the same jar file as the external jar to the project build. Follow these instructions: from this post.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  6. #6
    Regular Contributor
    Join Date
    Dec 2011
    Posts
    174

    Re: help me:working with polish project

    Hi safa55,

    And also make sure that you are using the jar file and not the zip file.

  7. #7
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: help me:working with polish project

    Please note if you are using Netbeans IDE, then you can even add the .zip file too as the external library.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  8. #8
    Registered User
    Join Date
    Mar 2012
    Posts
    10

    Re: help me:working with polish project

    thanks mr raj_j2me and tiviinik.

    my code now is correct.but not worked properly.
    can i send my code for you(s)?
    now i have new problem utput of polish project is very big (~1.20mb)!!!!!????????
    i need use only css of polish no any thing.

  9. #9
    Registered User
    Join Date
    Mar 2012
    Posts
    10

    Re: help me:working with polish project

    plz help me
    i need only work with xml and css(for graphic).
    i cant use kxml in polish and at project without polish i cant use css.


    i need a project with graphic and kxml for parsing xml file.

    plz help me.....

Similar Threads

  1. How to run J2ME Polish Project on emulator?
    By jayantb in forum Mobile Java General
    Replies: 3
    Last Post: 2011-12-05, 15:38
  2. j2me polish problem in creating project
    By poojs in forum Mobile Java General
    Replies: 0
    Last Post: 2010-10-26, 18:05
  3. Problem in adding an external jar into a j2me polish project
    By dotClass in forum Mobile Java General
    Replies: 3
    Last Post: 2009-09-09, 11:52
  4. J2ME polish create project problem
    By elaltaico in forum Mobile Java General
    Replies: 5
    Last Post: 2009-05-13, 14:53
  5. How to create new project in j2me polish?
    By harshalpatil in forum Mobile Java General
    Replies: 3
    Last Post: 2008-03-04, 07: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
  •  
×