×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2012
    Location
    Mumbai, Maharashtra, India
    Posts
    79

    Unhappy Nokia C5-00 not allowing use addPrximityListner() method

    I am developing Location based reminder app. My target device is Nokia C5-00. When I run an app in C5, while adding reminder in app; I am also adding ProxinityListner add that time, that code is as follows-

    Code:
    Coordinates proxcoord = new Coordinates(0.0, 0.0, 0.0f);
    proxcoord.setLatitude(Double.parseDouble(lat));
    proxcoord.setLongitude(Double.parseDouble(lon));
    provider.addProximityListener(this, proxcoord, 50.0f);
    proxcoord = null;
    All details of reminder is get saved properly in RecordStore but mobile doesWhen I run on C5 it is not throwing an error on mobile but when I went near to Coordinates on which I add ProximityListener app doesn't execute code under proximityEvent() method.....
    Also on Nokia SDK 1.0 emulator, it is throwing me an error of LocationExcetion. How should I resolve this problem..... make expecting suggestion ASAP....
    Thanks & regards
    RAHUL.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,085

    Re: Nokia C5-00 not allowing use addPrximityListner() method

    Try testing it on some other device with inbuilt GPS chip.

    C5-00 supports AGPS, while testing on this make sure that your device has got the GPS lock and the accuracy is more then the proximityRadius that you are requesting, check with the real coordinates that you get the device for any place - for promitiyEvent to fire and remember -

    The listener is called only once when the terminal enters the proximity of the registered coordinates. The registration with these coordinates is cancelled when the listener is called. If the application wants to be notified again about these coordinates, it must re-register the coordinates and the listener.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. Allowing internal GPS - N95
    By duveit in forum Symbian
    Replies: 10
    Last Post: 2009-03-03, 04:45
  2. Allowing Application Access
    By tp4f in forum Mobile Java Games
    Replies: 3
    Last Post: 2007-09-24, 16:00
  3. M Router not allowing connection
    By richben in forum Bluetooth Technology
    Replies: 1
    Last Post: 2003-03-03, 05:49

Posting Permissions

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