Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 webview 在 android 中实现一个浏览器。每当用户长按 webview 中的链接时,如何在 android webview 中打开上下文菜单?
来电。Activity.openContextMenu(View v)_ onLongPress这将意味着MyWebView保留对 Activity 的引用。
Activity.openContextMenu(View v)
onLongPress
MyWebView