×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    66

    Question how to get GPS lcoation accuracy in j2me?

    Hi,
    I have one problem..
    I want to find the current location accuracy..

    Android have Location.getAccuracy() . So easy to get the accuracy.
    But, I don't know how to do in j2me?
    So, anyone know the answer means Help me...


    Regards,
    DileepKumar(TOM)

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,545

    Re: how to get GPS lcoation accuracy in j2me?

    If JSR-179 APIs do not return some accuracy value to J2ME, then there is no way to get it with J2ME. Check the JSR-179 API documentation to see what they return and do not return.

    Full JSR-179 specification on http://jcp.org/aboutJava/communityprocess/final/jsr179/ and through there on http://www.developer.nokia.com/Devel...s.xhtml#jsr179

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

    Re: how to get GPS lcoation accuracy in j2me?

    You have any-other Idea to manual calculation.....

    Please send me...

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,545

    Re: how to get GPS lcoation accuracy in j2me?

    I can't imagine any possible way to calculate something yourself, if you don't have access to the data to base the calculations on in the first place. Switch to using Symbian phones and use Symbian C++, and you might get it, if there's a Symbian-level API for the accuracy data.

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

    Re: how to get GPS lcoation accuracy in j2me?

    I get the Horizontal Accuracy and Vertical Accuracy in j2me Using Location API.
    But, I want find current location accuracy.
    So,Any formula or any built in function in j2me?

  6. #6
    Nokia Developer Champion
    Join Date
    Apr 2007
    Posts
    2,708

    Re: how to get GPS lcoation accuracy in j2me?

    you can retrieve the NMEA string with the JSR-179 API, in there you will find stuff like the HDOP, VDOP etc values... those are used to calculate the precision of the fix, another "simple" way is to read out the number of "visible" satellites, the more (in general, thats not always true though0 the better the fix...
    You can google those terms (VDOP HDOP etc) which will yield you the knowledge on how to use them (it is somewhat complex stuff)... http://en.wikipedia.org/wiki/Dilutio...sion_%28GPS%29
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

Similar Threads

  1. GPS Accuracy
    By lokesh_kumar_s in forum Symbian
    Replies: 10
    Last Post: 2011-11-10, 11:01
  2. Gps Accuracy
    By amit.mangal in forum Symbian
    Replies: 2
    Last Post: 2010-01-19, 14:00
  3. GPS accuracy
    By swelef in forum Symbian
    Replies: 2
    Last Post: 2009-01-30, 10:29
  4. UniversalTime accuracy
    By alessandro.barilari in forum Symbian
    Replies: 3
    Last Post: 2008-11-19, 15:57

Posting Permissions

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