You Are Here:

Community: Developer Discussion Boards

#1 Old JSR 179 -Getting Longitude Latitude Values of Current Location - 2007-12-19, 07:02

Join Date: Aug 2007
Posts: 46
Send a message via Skype™ to satyarajasekhar
satyarajasekhar
Offline
Registered User
Hi,
is there any example for displaying the current position's longitude and latitude values from mobile.

I had seen the examples regarding entering manually the latitude and longitude values from the emulator and through the xml file. But where can i get those values if i want to display my exact current location's longitude and latitude values dynamically.

Thanks,
G.S.Rajasekhar
Reply With Quote

#2 Old Re: JSR 179 -Getting Longitude Latitude Values of Current Location - 2007-12-19, 07:29

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
Here is a sample app that could be of some interest to you.

MIDP: Location API Example - Tourist Route
http://www.forum.nokia.com/info/sw.n..._v1_0.zip.html

Also have a look at MIDP: Location API Developer's Guide v2.0
http://www.forum.nokia.com/info/sw.n..._0_en.pdf.html

Regards
Gopal
Reply With Quote

#3 Old Re: JSR 179 -Getting Longitude Latitude Values of Current Location - 2007-12-27, 06:54

Join Date: Aug 2007
Posts: 46
Send a message via Skype™ to satyarajasekhar
satyarajasekhar
Offline
Registered User
I am using N95 device and if am using JSR 179 i.e, location API is it possible to get the longitude and latitude values directly.

In location API we are having Coordinates class with which we can get latitude and longitude information by means of following methods.

Coordinates.getLatitude and Coordinates.getLongitude

If iam not setting manually the latitude and longitude either by means of setLatitude and setLongitude methods of Coordinates or by way of giving the waypoints in the form of an xml file, is it possible to get the latitude and longitude automatically.

In general, what is the location method that is retrieved by the N95 device.

Please help me in this aspect.
Reply With Quote

#4 Old Re: JSR 179 -Getting Longitude Latitude Values of Current Location - 2007-12-27, 19:05

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
Have you tried the sample app that I have mentioned in my pevious reply ? Since N95 does have inbuilt GPS, it will return the Latitude and Longitude values. To get the values, you have to keep the phone out side the building so that the phone is visible to the open sky. In my experience, for the first time it might take some 5-6 min to retrive the values and after that it will be faster.

Regards
Gopal
Reply With Quote

#5 Old Re: JSR 179 -Getting Longitude Latitude Values of Current Location - 2007-12-28, 08:03

Join Date: Aug 2007
Posts: 46
Send a message via Skype™ to satyarajasekhar
satyarajasekhar
Offline
Registered User
Hi Balagopal,
Thanks for your suggestions and i tested the Tourist Routeapplication. I am getting the latitude and longitude information propertly in N95 Device. My question is since N95 was GPS enabled there was no problem in getting the location values.
If we install the Tourist Route application in a mobile which doesn't supports GPS, can we get the latitude and longitude values.
Please help me in getting the latitude and longitude values by means of reamining methods either network or handset based.

I heard that we can get the map, latitude and longitude values from server by means of Google API. Is there any plugin that we can use from the server side to connect to google maps API and get all the information.

Thanks,
G.S.Rajasekhar
Reply With Quote

#6 Old Re: JSR 179 -Getting Longitude Latitude Values of Current Location - 2007-12-28, 08:39

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
If your phone supports JSR 179 but dont have inbuit GPS, you can get the Longitude and Latitude from your Network provider. Make sure that your network provider does support Location services. Also you can use external GPS modules(not tried so far..)

Regards
Gopal
Reply With Quote

#7 Old Re: JSR 179 -Getting Longitude Latitude Values of Current Location - 2007-12-31, 13:55

Join Date: Dec 2007
Posts: 3
mobileraj
Offline
Registered User
Hi,
iam also trying that one for so many days. In N95 devices, since the GPS was in-built available it was displaying.

My task is following.

Suppose if we take a java enabled mobile and take it to anywhere, then it has to get the latitude and longitude of that particular location and display the map of that particular location.

I am bothering for that task for so many days. I am googling for that one from so many days. What i am getting is if i give a location name or place name, it was giving the latitude and longitude. But i had to get that longitude and longitude dynamically.

Please anybody help me.

Thanks,
G.S.Rajasekhar
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Obtaining phone location using CellID and JSR 179 or any other Nokia Java API kkannapp Mobile Java General 7 2008-02-08 13:02
Location api jsr 179 and Bluetooth GPS prategiov Mobile Java General 21 2007-12-05 00:36
Location API JSR 179 scarasimon Series 40 & S60 Platform Feedback 1 2007-11-15 19:13
E61, CDC & JSR 179 jdesjean Mobile Java Tools & SDKs 2 2007-06-27 14:41
Location API (JSR 179) in Nokia Phones mgruebsch Mobile Java General 1 2004-09-17 05:50

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d162470X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZlocationQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxlocationE2dbasedE2dservicesX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ