So for everyone who is interested, this is my solution:

> http://www.anddev.org/viewtopic.php?p=9999#9999
(Funny post-id ^^)

Best Regards,
plusminus for anddev.org

On 3 Sep., 17:05, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> 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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to