Can you paste the stack trace for the same? On Jul 20, 9:28 am, AUandroid <thevk...@gmail.com> wrote: > Hi all, > > I am continuously running a thread in my activity which fetches lat/ > lon information and the overlays on the map are updated dynamically > through a handler. The overlays can be varying in number and can > change dynamically. The thread is interrupted in onPause(). > > I am over riding the onTap() method in my Itemizedoverlay, where I > want to call a dialog or may be start anothrer activity which > describes that particular overlay item. Every time I click on the > moving overlay my app force closes. I am basically using the same > onTap() method in > http://developer.android.com/resources/tutorials/views/hello-mapview.... > . If it is only a Toast message and not starting a dialog/activity > then it works fine. > > I am passing application context while creating the ItemizedOverlay, > which is created and added to mapoverlay inside the handler, . Is my > problem due to context issue or the continuously running thread. > Please let me know what you guys think. Thanks > > -vk
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en