Forums
Toggle Search
E Ink Everything
Retro Gaming
ChatGPT & AI
Security
Mobile
Automotive
Computing
AR & VR
Online
Club CrackBerry
BlackBerry Forums
Other Categories
Answer / Ask a Question
Reviews
Deals
Contests
Newsletter
Help & How To
News & Rumors
Log in
or
Sign up
Brightness
Light Mode
Dark Mode
© Journey Commerce Inc.
Terms & Conditions
Privacy Policy
CREATE
YOUR
ACCOUNT
ASK A QUESTION
TRENDING:
ProtecMe maybe blocked device password
165
Forum
BlackBerry Developers
Developers Lounge
8800 gps help(J2ME)
12-07-07 09:28 PM
tools
Advanced Search
View First Unread
Show Printable Version
1
https://forums.crackberry.com/showthread.php?t=10584&s=&p=70784&viewfull=1#post70784
thorne_
I am trying to create a BB program that utilizes the GPS functionality of the BB 8800.
I simply want to get the gps co ordinates from the phone and display this to the user.
Please can someone out there help me with this?
thanks
12-06-07 05:55 AM
Like
0
4
https://forums.crackberry.com/showthread.php?t=10584&s=&p=72013&viewfull=1#post72013
wizard#CB
BlackBerry makes use of the Location API from JME (that's JSR 179 for those that care) which can be found at javax.microedition.location in the JDE.
There quite a few options that go into accessing the API, but the simple version goes like this:
try
{
Location location = provider.getLocation(-1);
}
catch (Exception e)
{
// uh oh
}
For what it's worth, you can only obtain the GPS information through the Java APIs, not via a browser or MDS.
Source: http://blackberry.developercommunity.com/forum/getting_gps_information_from_blackberry
12-07-07 09:28 PM
Like
0
Forum
BlackBerry Developers
Developers Lounge
8800 gps help(J2ME)
«
Blackberry Enterprise server with MDS services
|
Free software
»
LINK TO POST COPIED TO CLIPBOARD