Yahel wrote: > Oh my, really, no one on this one ? > > I take anything : Ideas, suggestions, hints, cold beer, really > anything :D > > Yahel > > >> I'm trying to add custom menu items in a WebView Context Menu. >> Unfortunately, my items are shown in the menu of the first web page I >> load , but then if I load a second page, a long press only shows the >> standard context menu items. Mine are gone. >
I haven't played with a context menu on WebView. If it is adding its own context menu items, that's a bit unusual -- I can't think of any other widget that does that. Is your onCreateContextMenu() being called on the second page? That's supposed to be called on every context menu trigger event (long tap). BTW, I'm assuming "load a second page" means you're using loadUrl() or loadDataWithBaseURL() to load something else into the WebView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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

