×

Discussion Board

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

    Question Doubt about proximityEvent() and locationUpdated() method

    The above mention method is called automatically by LocationProvider or we have to explicitly call them to get update after each interval and also to execute procedures under respective methods???
    Thanks & regards
    RAHUL.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,168

    Re: Doubt about proximityEvent() and locationUpdated() method

    have you considered on reading docs for the API ?

    Generally they should be saying that these interface functions when the interface is properly registered will be called automatically to indicate the event happening.

  3. #3
    Registered User
    Join Date
    Dec 2012
    Location
    Mumbai, Maharashtra, India
    Posts
    79

    Re: Doubt about proximityEvent() and locationUpdated() method

    Quote Originally Posted by symbianyucca View Post
    have you considered on reading docs for the API ?

    Generally they should be saying that these interface functions when the interface is properly registered will be called automatically to indicate the event happening.
    That means if I register LocationProvider to LocationListener like - provider.setLocationListener(MobileLocationReminder.this, 30, -1, -1); and ProximityListener like provider.addProximityListener(this, proxcoord[i], 40); then the listeners automatically calls that methods.... correct????
    Last edited by Rahul More; 2013-03-29 at 19:03.
    Thanks & regards
    RAHUL.

  4. #4
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Doubt about proximityEvent() and locationUpdated() method

    Documentation says...

    setLocationListener(): The listener will be called with updated location at the defined interval. The listener also gets updates when the availablilty state of the LocationProvider changes.

    ProximityListener: This listener is called when the terminal enters the proximity of the registered coordinates.

    Or: yes.

    This is the entire point of "listeners".

    Graham.

  5. #5
    Registered User
    Join Date
    Dec 2012
    Location
    Mumbai, Maharashtra, India
    Posts
    79

    Re: Doubt about proximityEvent() and locationUpdated() method

    Ok.... got it... Thanx a lot...
    Last edited by Rahul More; 2013-03-29 at 19:34.
    Thanks & regards
    RAHUL.

Similar Threads

  1. How create MapPolyline in locationUpdated?
    By azspider in forum Mobile Java General
    Replies: 0
    Last Post: 2012-12-28, 09:48
  2. Doubt using RouteSummary() method
    By Clog in forum [Archived] Maps API for Javascript
    Replies: 13
    Last Post: 2012-09-03, 16:39
  3. Doubt in destroyApp() method?
    By jayesh_nokia in forum Mobile Java General
    Replies: 2
    Last Post: 2010-08-09, 20:35
  4. Doubt on the format and downloading method
    By harinrd in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2009-06-24, 19:54
  5. Draw Method ... Basic Doubt
    By Vignesh.M in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-02-13, 12:31

Posting Permissions

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