Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
jc500000
Posts: 37
Registered: 04-17-2009
Accepted Solution

locationlistener

 

Hi,

 

            Do we need to deregister the locationlistener on exit like we do the phonelistener?  Thanks,

Please use plain text.
Administrator
MSohm
Posts: 11,465
Registered: 07-09-2008
My Carrier: Bell

Re: locationlistener

It is recommended to reset the LocationProvider and set the LocationListener to null upon application exit (or when the application no longer needs them).  Please refer to the gpsdemo included with the BlackBerry JDE for an example.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.