You can cache the calling context in your extended LocationListener
class when it is created, e.g. add a constructor that does something
like:
public class LocListen implements LocationListener
{
protected Activity m_CA;
public LocListen(Activity CA)
{
super();
m_CA = (Activity)CA;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---