Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User redsmurph's Avatar
    Join Date
    Jan 2006
    Posts
    23
    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 d33's Avatar
    Join Date
    May 2007
    Posts
    16
    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 redsmurph's Avatar
    Join Date
    Jan 2006
    Posts
    23
    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
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved