×

Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    Registered User
    Join Date
    Jan 2009
    Location
    Melbourne, Australia
    Posts
    2,578

    Re: How to add the API to the project?

    Probably being very dumb, but also having problems adding the API to the project on "Nokia IDE for Java ME" (in beta 2.0 sdk)

    I started by downloading the zip file and reading http://www.developer.nokia.com/Devel...tting_started/

    The instructions start OK - getting the jar onto the device from the zip. However they then jump to adding the library to a project. What is missing though is how I tell the IDE about the zip and javadoc etc in the first place? Is there somewhere standard "any zip" would be copied so it can be detected?

    Any ideas?

  2. #17
    Regular Contributor
    Join Date
    Aug 2011
    Location
    Berlin
    Posts
    288

    Re: How to add the API to the project?

    For the beta 2.0 SDK, The Maps_API.jar can be found at: C:/Nokia/Devices/Nokia_SDK_2_0_Java/plugins/maps api/bin/Maps_API.jar
    The associated JavaDoc can be found within: C:/Nokia/Devices/Nokia_SDK_2_0_Java/plugins/maps api/doc/com.plugin.maps_1.0.jar , and the path is : /html/Javadocs/Maps_API

    Your entire .classpath file for the project should look something like this:
    HTML Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
          <classpathentry kind="src" path="src"/>
          <classpathentry kind="src" path="res"/>
          <classpathentry kind="con" path="org.elipse.mtj.JavaMEContainer/Nokia SDK 2.0 for Java/Nokia_SDK_2_0_Java"/>
          <classpathentry kind="lib" path="C:/Nokia/Devices/Nokia_SDK_2_0_Java/plugins/maps api/bin/Maps_API.jar">
                <attributes>
                      <attribute name="javadoc_location" value="jar:file:/C:/Nokia/Devices/Nokia_SDK_2_0_Java/plugins/maps api/doc/com.plugin.maps_1.0.jar!/html/Javadocs/Maps_API"/>
                </attributes>
          </classpathentry>
          <classpathentry kind="output" path="bin"/>
    </classpath>
    The Maps API jar is the first plugin of its kind in the SDK, so it is found in a "well-known" plugins location that isn't really "well-known" yet. The SDK team are aware of this, and there should be a Maps template built in into the next release to access the "well known" location directly.

Similar Threads

  1. How can I convert easily from Visual Studio 2008 project to Symbian project?
    By K.John in forum Series 40 & S60 Platform Feedback Archive
    Replies: 2
    Last Post: 2009-08-17, 14:01
  2. How to link a C++ project and symbian OS project in carbide??
    By Adrian99420 in forum Symbian User Interface
    Replies: 0
    Last Post: 2008-02-29, 03:29
  3. Project Manager with UI Project Experience
    By mattsankey in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-06-30, 09:33
  4. Project Managers with Symbian Project Experience
    By mattsankey in forum Symbian
    Replies: 0
    Last Post: 2004-06-30, 09:29

Posting Permissions

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