×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    80

    Here map jar file in map application

    I am trying to include here map in my j2me app.
    I have included maps_api.jar as external jar file in my project.
    With this inclusion, my midlet crashes at the beginning but if I exclude it then my midlet is fine again.
    Any idea what is wrong here?

  2. #2
    Nokia Developer Moderator
    Join Date
    Aug 2011
    Location
    Berlin
    Posts
    288

    Re: Here map jar file in map application

    At a guess you may be trying to combine Direct Utils and Java SDK 1.1. with the deprecated version 1.1 of the maps_api.jar. There is a known bug that markers cannot be rendered on the map using this combination, the SDK will crash. A work around was added to version 1.2.

    The first thing to do is to update your maps jar(s). The single monolithic maps_api.jar is no longer current. Literally last week, the latest version 1.3 of the HERE Maps API was publically released and can be downloaded as part of the Asha SDK. This has a workaround to disable Direct Utils with a single line of code:

    Code:
    ApplicationContext.getInstance().disableDirectUtils();
    A series of backwardly compatible sample Apps are now integrated into the SDK (Asha SDK 1.0) or you can download them here. You could also try any of the code examples from the wiki. If you use the latest maps_core.jar with the switch you should be fine.

Similar Threads

  1. Replies: 4
    Last Post: 2010-12-31, 09:00
  2. Replies: 13
    Last Post: 2010-08-25, 07:32
  3. Replies: 6
    Last Post: 2009-12-03, 05:21
  4. how to install an sisx application by including the file in image through iby file
    By arun_stmicro in forum Mobile Web Site Development
    Replies: 3
    Last Post: 2006-10-27, 08:52
  5. Application hardcoded values - Config. file with SIS file?
    By symbian_ravi in forum Symbian C++
    Replies: 4
    Last Post: 2006-03-05, 16:06

Posting Permissions

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