×

Discussion Board

Results 1 to 12 of 12

Hybrid View

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    46

    JSR 179 -Getting Longitude Latitude Values of Current Location

    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

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: JSR 179 -Getting Longitude Latitude Values of Current Location

    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

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    46

    Re: JSR 179 -Getting Longitude Latitude Values of Current Location

    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.

  4. #4
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: JSR 179 -Getting Longitude Latitude Values of Current Location

    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

  5. #5
    Registered User
    Join Date
    Aug 2007
    Posts
    46

    Re: JSR 179 -Getting Longitude Latitude Values of Current Location

    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

  6. #6
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: JSR 179 -Getting Longitude Latitude Values of Current Location

    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

  7. #7
    Registered User
    Join Date
    Nov 2011
    Posts
    66

    Re: JSR 179 -Getting Longitude Latitude Values of Current Location

    Hi ,
    I am find the current location in satellite based and network based positioning.
    But,I am using the package com.nokia.mid.location.LocationUtil;

    now, i want to find location in satellite based and network based positioning without this com.nokia.mid.location.LocationUtil;
    I use the JSR-179 . I get the satellite based position. But i don't know how to get the network based position using JSR-179 .
    Its possibe? How?

  8. #8
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: JSR 179 -Getting Longitude Latitude Values of Current Location

    Quote Originally Posted by DileepKumar View Post
    I use the JSR-179 . I get the satellite based position. But i don't know how to get the network based position using JSR-179 .
    Its possibe? How?
    It either happens transparently to you through the JSR-179 (i.e., it just works), or it doesn't happen at all (in which case the answer is: not possible on that particular implementation on that particular device).

Similar Threads

  1. Replies: 7
    Last Post: 2008-02-08, 12:02
  2. Location api jsr 179 and Bluetooth GPS
    By prategiov in forum Mobile Java General
    Replies: 21
    Last Post: 2007-12-04, 23:36
  3. Location API JSR 179
    By scarasimon in forum Series 40 & S60 Platform Feedback Archive
    Replies: 1
    Last Post: 2007-11-15, 18:13
  4. E61, CDC & JSR 179
    By jdesjean in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2007-06-27, 13:41
  5. Location API (JSR 179) in Nokia Phones
    By mgruebsch in forum Mobile Java General
    Replies: 1
    Last Post: 2004-09-17, 04:50

Posting Permissions

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