0

Can i use Here Maps http://here.com/, in blackberry RIM version 5.0 and above development? Because i have an application which gets the user location and i need to put 2 pins on the map and get the distance between them , and the client wants Here maps.

I used bing map lately, but i need here map now. Bing Maps SDK For Blackberry 6.0

Community
  • 1
  • 1
Reham
  • 1,916
  • 6
  • 21
  • 45

2 Answers2

1

Option 1) Use the Maps API for Java ME with the Blackberry JDK

There is no native Maps API marketed for Blackberry, however the Maps API for Asha is a general Java ME API, whose only dependencies are CLDC1.1 and MIDP2.0, so there is no reason why it shouldn't work with the Blackberry JDE. This article describes the similarities.

There are a series of code examples available which should work out of the box, except for one thing - you'll need to get hold of the jar files which usually reside in

C:/Nokia/Devices/Nokia_Asha_SDK_1_0/plugins/maps api/lib/

which can be obtained from the Nokia Asha SDK.

So all you'll need to do is download the SDK, extract the file maps-core.jar or any of the other packages you want and access them as external JAR dependencies in the usual manner. See the examples on github for an idea of the capabilities of the library.

Option 2) Use the Map Image API with the low level i/o

Now, if all you need is a single "quick and dirty map", you can make a series of http calls to m.nokia.me using javax.microedition.io to get a map on screen. This article explains why using a static map is probably a bad idea, but it would be a simple solution.

Option 3) Create a cross-platform HTML5 app using Cordova or Web Apps

This would be where the Maps API for JavaScript would be useful,

Jason Fox
  • 5,115
  • 1
  • 15
  • 34
0

Basically if you would visit the developer.here.com native APIs section, you could see that there is no offering for Blackberry.

Anyway, thus, if you really want to use HERE maps with the platform, you should check out the Javascript API

Dr.Jukka
  • 2,346
  • 2
  • 15
  • 20