Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
spbi_actin
Posts: 16
Registered: ‎03-10-2010
My Carrier: Nextel

GPS and Reference coordinates!

Hello!

 

I am developing a Java application and I need to know the coordinates of the GPS and the coordinates Reference, however i have been unable for doing it, because the device I am using is a BlackBerry 8350i. Please, could somebody help me? I know for doing it in a Blackberry bold 9000, we can do it in the following way:

 

Criteria crit = new Criteria();

crit.setVerticalAccuracy(Criteria.NO_REQUIREMENT);

crit.setHorizontalAccuracy(Criteria.NO_REQUIREMENT);

crit.setCostAllowed(false);

crit.setPreferredPowerConsumption(Criteria.NO_REQUIREMENT);

 

But for the Blackberry 8350i, the process doesn't work, please help me!

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: GPS and Reference coordinates!

What BlackBerry device software version are you testing on?  You can find this under Options, About on the BlackBerry Smartphone.  Can you elaborate on what is not working?  Is any error or exception thrown?  If so, what line of code triggers it?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.