Solved. I was referencing the class with the MapActivity at the wrong method. I had to do that in the constructor. Now it works. Thanks for the pointers.
On Feb 26, 12:13 am, eyedol <[email protected]> wrote: > Still throws that same exception. > > On Feb 25, 6:34 pm, TreKing <[email protected]> wrote: > > > > > On Thu, Feb 25, 2010 at 11:27 AM, eyedol <[email protected]> wrote: > > > The issue is, I haven't extended the Activity class. > > > My class extends another class. > > > Well, I'm assuming you're using MapActivity at some point since you > > mentioned popup markers. So you have that Activity. Find some way to pass a > > reference to that activity to your click listener (perhaps by passing it to > > your class that has the click listener). > > > --------------------------------------------------------------------------- > > ---------------------- > > TreKing - Chicago transit tracking app for Android-powered > > deviceshttp://sites.google.com/site/rezmobileapps/treking -- 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

