×

Discussion Board

Results 1 to 15 of 17

Hybrid View

  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    63

    How to add the API to the project?

    Hello,

    I downloaded the Maps API (0.5 from the Wiki) and would like to add it to my project.
    I've done this in Netbeans via Project Properties > Build > Libraries and Resources and there adding the nma.jar. But it doesn't work as it shows me this when compiling:

    E:\GemeinsameDateien\VRSFahrplan\Tankometer\src\Main.java:7: package com.nokia.maps does not exist
    import com.nokia.maps.*;
    1 error
    Is there anything else I need to do to be able to use the API?

    Best Regards,
    Sebastian

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to add the API to the project?

    Basically the Add Jar/zip option would be the only thing you need to do, all and all I would suggest you would try the 1.0 version, it available now at: http://www.developer.nokia.com/info/...3e/JavaME.html

  3. #3
    Registered User
    Join Date
    Nov 2009
    Posts
    63

    Re: How to add the API to the project?

    thanks for reply

    I used now the new version of the Maps API, but I still get the same error when compiling...
    Also when adding "import com.nokia.maps.*;" into the source code in Netbeans it shows the message, that the package doesn't exist...

    (if it should be important, I'm using Netbeans 6.9.1 with Symbian Belle SDK v0.6 on Windows XP SP3)

    would be happy about every idea

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to add the API to the project?

    Can you run it in the simulator ? I'm now on my home computer, and to check the java environment, I would need to use my office computer, which I could only check tomorrow morning.

  5. #5
    Registered User
    Join Date
    Nov 2009
    Posts
    63

    Re: How to add the API to the project?

    I'm working in VirtualBox, because of what I'm not able to run the emulator (see here: http://www.developer.nokia.com/Commu...ice-quot-error)...

    so I can't give you an answer to that... :/

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to add the API to the project?

    maybe you could simply select the Nokia SDK 1.0 for Java option, i.e. run it in the simulator. For device you could see whether the ticking all optional packages would help. Gotta admit that I have not tried running any java apps on Symbian emulators.

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
  •  
×