×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    23

    N95: speed and course

    Must the "Required" settings be true for the N95 to at all return speed and course, like so?
    cr.setSpeedAndCourseRequired(true);

    I guess there can't be anything wrong with how the values are read out:
    speed = l.getSpeed();
    course = l.getCourse();

    With the above set to false I always get NaN for those value.

    Thanks in advance for any help

  2. #2
    Registered User
    Join Date
    May 2007
    Posts
    16

    Re: N95: speed and course

    If you need these informations, it is a good idea to set them in the criteria object.
    The problem with the Nokia API is that you can't set the desired location method. And there is also no documentation that states which locationProvider you will get for a certain criteria.

  3. #3
    Registered User
    Join Date
    Jan 2006
    Posts
    23

    Re: N95: speed and course

    The reason I didn't set them at first was that I was concerned the phone might choose not to report any such supported device at all, but in the case of GPS I hope this will be accepted even if it at the time doesn't have any access to satellites and the actual speed and course.

    Practice makes perfect...

  4. #4
    Registered User
    Join Date
    Nov 2003
    Posts
    31

    Re: N95: speed and course

    Just to help anyone else looking for this info: Yes, this helps and enabled speed and course from N95.

Posting Permissions

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