Hi Mark,

Thanks for your answer.

> BTW, I'm assuming "load a second page" means you're using loadUrl() or
> loadDataWithBaseURL() to load something else into the WebView.

Actually no, the first page is loaded via the loadUrl method, but the
second page is loaded when I click on a link in the first page.

> Is your onCreateContextMenu() being called on the second page? That's
> supposed to be called on every context menu trigger event (long tap).

No, on the second page, neither onCreateContextMenu or the
longpresslistener I have set are triggered.


While I was tinkering on this, I wanted to create a ContextMenu and
set it with the setContextMenu method, but I could not find a way to
instanciate a ContextMenu, or a even a Menu for that matter. I can get
it from the parameters in the onCreateContextMenu but I don't seem to
be able to create one from scratch.

Yahel

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