Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User snoopyAU's Avatar
    Join Date
    Jul 2008
    Posts
    20
    Hi
    I tried to use LocationProvider.addProximityListener(listener,coordinates,radius)
    with coordinates is
    new Coordinates(-33.91956111111, 151.2266583333, (new Float(48.0)).floatValue())
    but it ultimately throw the LocationException
    Any idea why,
    just wonder that can proximitylistener be used on S60 FP2 device
    thanks

  2. #2
    Nokia Developer Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    Hello snoopyAU,

    ..just wonder that can proximitylistener be used on S60 FP2 device..
    Which S60 FP2 this is about? S60 3rd Ed., FP2? Or S60 2nd Ed., FP2?

    Regards,
    r2j7

  3. #3
    Registered User snoopyAU's Avatar
    Join Date
    Jul 2008
    Posts
    20
    I am using Nokia N95 8GB, I am not sure which one is the one in your list

  4. #4
    Regular Contributor rooossone's Avatar
    Join Date
    Aug 2008
    Location
    Bournemouth, UK
    Posts
    65
    Quote Originally Posted by snoopyAU View Post
    I am using Nokia N95 8GB, I am not sure which one is the one in your list
    That would be S60 3rd Edition, I believe Feature Pack 2 but i think that it may only be feature pack one, please someone correct me if im wrong but i think the newer firmware and handsets use fp2
    Last edited by rooossone; 2008-09-26 at 11:23.
    Made With Caffiene And Sleepless Nights

  5. #5
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    N95 8GB is S60 3rd Edition Feature Pack 1 device. Even after firmware updates (you will not move from one platform version to another one with a firmware update)

    What comes to the original question. This sentence
    There is no proximity listener support, which is used to receive notifications of when the terminal enters an area (specified by coordinates and a radius).
    can be found in the Java ME Developer's Library (in the JSR-179 implementation notes)
    http://www.forum.nokia.com/document/...rs_Library_v2/

    Hartti

  6. #6
    Registered User dessugrue's Avatar
    Join Date
    Feb 2010
    Posts
    3
    Why not simply use the LocationListener's callback when the terminal position has moved? Just spin off another thread to take this new location, and drill down through your landmarks, and decide which of them are within range using currentCoord.distance(landmark[x]) <= range?

    des

  7. #7
    Nokia Developer Champion Tiger79's Avatar
    Join Date
    Apr 2007
    Posts
    2,697
    I'm just guessing that after one and a half year he most probably either has given up or he has found a solution

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