BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-08-2007, 08:43 AM   #1 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Mar 2005
Model: 9000
Carrier: ATT
Posts: 247
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Gps Api

Please Login to Remove!

Anyone worked with the GPS API? Any idea what specifically needs to be done to support both internal and puck based connections?
__________________
theSUGGESTR.com | BB on Fire
Offline  
Old 07-09-2007, 10:03 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Mar 2005
Model: 9000
Carrier: ATT
Posts: 247
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

FYI:

What I've found is that the Location API only works on 4.2 systems or 4.1 OS's that have onboard gps chips.

So for example I had an 8700 on 4.1 w/ a BT Puck. A simple GPS app I wrote didn't work. I upgraded to 4.2 and worked like a charm.
__________________
theSUGGESTR.com | BB on Fire
Offline  
Old 07-24-2007, 01:00 AM   #3 (permalink)
New Member
 
Join Date: Jul 2007
Model: no
PIN: N/A
Carrier: airtel
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default GPs API

Hi
where can find Location api? for download
Thanks for help.
Offline  
Old 07-25-2007, 12:21 AM   #4 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

it is included in JDE and handheld OS since 4.0.2 version. See javax.microedition.location package in JDE javadoc.
Offline  
Old 07-25-2007, 12:58 AM   #5 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2007
Model: 8800
PIN: N/A
Carrier: Rogers
Posts: 17
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by fsa3 View Post
FYI:

What I've found is that the Location API only works on 4.2 systems or 4.1 OS's that have onboard gps chips.

So for example I had an 8700 on 4.1 w/ a BT Puck. A simple GPS app I wrote didn't work. I upgraded to 4.2 and worked like a charm.
as of 4.2, RIM has implemented JSR-179 (Location API) for a BT Puck as well as the onboard chip. this should make life real easy for developing gps-based apps for a device that runs 4.2 or greater - you never have to worry about whether the GPS is supplied by BT or by a built-in chip.
Offline  
Old 07-25-2007, 02:27 AM   #6 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

like koedur said using jsr179 in 4.2 or later the lower level details are abstracted out. i have a simple implementation i created for a current project that wraps everything in a field so is nice and easy to use, will post it later today.
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Offline  
Old 07-25-2007, 03:42 AM   #7 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

here you go: BlackBerry GPSField - Custom Field



__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Offline  




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