BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 11-24-2008, 11:51 PM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Nov 2008
Model: Pearl
Carrier: T-Mobile
Posts: 22
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default New to BB development. Are there any location/maps APIs?

Please Login to Remove!

Hey, I've developed an app for the Google Android platform and am looking to write a port for the BlackBerry platform.

Do apps written for one blackberry work on all of the others or is it very device specific? I'm mainly interested in writing for the Pearl and Storm.

Are there any location and maps APIs available in the BB system for getting the user's current GPS coordinates (I know all BB's don't have GPS receivers, but I figure they might be able to geocode based on cell tower).

Is there any ability to have easy mapping in an application or to send coordinates to Google Maps on the phone to have it map the location?

Thanks in advance for the help!
Old 11-25-2008, 02:41 AM   #2 (permalink)
CrackBerry Addict
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts

the location classes are within the location package. blackberry uses the j2me implementation, you should be able to find some samples here or in j2me forums.

i have seen geocoding implemented on android only, but the core functions will be the same on blackberry:
Poor mans GPS - Cell(Tower)ID / Location Area Code -Lookup :: - Android Development Community | Android Tutorials

as for maps:
there is blackberry maps and google maps. the first is preloaded on some, but not all, devices.
see the developer guide about handling it.

google maps is not preloaded but used by many people nontheless (as it offers superior quality).
here is a thread about using it:
java developer, Devinto, hamburg/germany

Last edited by simon.hain : 11-25-2008 at 02:42 AM.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.