Mark,

thanks for the hint. Reading the API documentation I would have never
guessed what it does. It seems that you get the marked link back and when
long clicking on a link it get's selected and so this work for me.

Cheers,
Mariano

On Wed, Nov 11, 2009 at 2:33 PM, Mark Murphy <[email protected]>wrote:

> Mariano Kamp wrote:
> > *bump*
> >
> > On Fri, Nov 6, 2009 at 5:40 PM, Mariano Kamp <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     Hi,
> >
> >       is there any way to launch a context menu on the links in a
> >     WebView that knows about the links it is launched upon? I would like
> >     to launch a context menu on links that I can then open in the actual
> >     Android browser or send the link by email etc.
>
> I am not aware of a way to control the option menu on a per-link basis.
>
> However, you can implement an option menu generally on the WebView, then
> try calling getHitTestResult() on the WebView, which may give you the
> information you seek. I haven't tried this, so I have no idea how well
> it will work.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Android App Developer Books: http://commonsware.com/books
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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

Reply via email to