| Reply | « Previous Thread | Next Thread » |
|
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 |
| satyarajasekhar |
| View Public Profile |
| Find all posts by satyarajasekhar |
|
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 |
|
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. |
| satyarajasekhar |
| View Public Profile |
| Find all posts by satyarajasekhar |
|
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 |
|
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 |
| satyarajasekhar |
| View Public Profile |
| Find all posts by satyarajasekhar |
|
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 |
|
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 | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| 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 |