2008/9/3 Megha Joshi <[EMAIL PROTECTED]> > > > 2008/9/1 plusminus <[EMAIL PROTECTED]> > >> >> What is the common replacement for MapView's OnLongPressListener >> (since its gone in 0.9) ? > > > Since MapView's setOnLongPressListener() method is now removed...if you > need the same functionality...you could try > handling the OnTouchEvent() and passing it on to a GestureDetector to > handle it yourself.. >
Further, you can use getProjection() to get the lat/lng from the pixel co-ordinates of the touchEvent.. > >> OnLongClick does not provide the Coordinates :( >> >> PS: This is my third try to post o_O. >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---