Meroelyth
Meroelyth

Reputation: 5590

Android Dev: How to get a GeoPoint by LONG PRESS on MapView?

I want to get a specific GeoPoint to do something by LONG PRESS (NOT CLICK BUT LONG PRESS) a point on a MapView.

I found online only this way to do this: http://www.kind-kristiansen.no/2010/handling-longpresslongclick-in-mapactivity/

but this way considers the LONG PRESS in every part of the screen not only in MapView and the geopoint is not accurate.

Can you give me an working example to do this?

Thank you very very much!

Upvotes: 1

Views: 2565

Answers (1)

Jermin Bazazian
Jermin Bazazian

Reputation: 1970

Not sure if you are still looking for an answer or not but I found the updated tutorial by the same author here handier.

Upvotes: 1

Related Questions