Android Question How to start a customized Context Menu by clicking on the 'select text' of a popup window in webview?

kofiking

Member
I'm working on an android browser in B4A language, I've partially finished it and now I have a question.
In webview, I can long press text to popup a customized Context Menu, or long press a link to popup a customized popup window. But how to realize that when I long press a link to popup the custom popup window, then click the 'select text' of the popup window to start the customized Context Menu? Implement it like in the video by clicking on 'select text', and then launching the Context Menu.

(note:I used other Android browsers in the video and screenshots, and I believe it can also be implemented in B4A.)
 

drgottjr

Expert
Licensed User
Longtime User
example does nothing (except load the b4a page). webview has a built-in context menu. i don't see anything you've coded kicking in. is there some initial call missing?
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…