LocationListener is being called multiple times
Posted
by sujitjitu
on Stack Overflow
See other posts from Stack Overflow
or by sujitjitu
Published on 2010-04-16T06:27:38Z
Indexed on
2010/04/16
6:33 UTC
Read the original article
Hit count: 150
android
Hi, I am working on an Location Based Application. In this application i am using LocationListener class to update the location when the Location is changed.In each Activity i have different LocationListener to update location and do some specific work on updated location. But my problem is that when i am changing my location through DDMS , the LocationListener is being called of that current Activity as well as all the activities of the whole application where LocationListener has been defined. I don't know whether there should be one LocationListener for the whole application or for each Activity we should have different LocationListener.
Please help me......Its urgent..........Thanks in Advance.....
© Stack Overflow or respective owner