Is it possible to copy and paste the text from a webview in android??
Hi!! Is it possible to select the text from a webview then to copy and paste.Is there any special method to do this??Please help me..
1 Answer
-
Unfortunately that's not possible since copy & paste text in a webView require overriding several native methods that aren't avail in Ti.UI.webView, i.e. Key Listeners (to emulate a shift button, track Android Clipboard's content changes and handle the Android ClipboardManager).
If you want to implement such task in your sites an option to achieve this would be passing text communicating WebViews & Titanium, have in mind that this is the most expensive component (resources & performance) and Ti.UI.WebViews are meant to display local and remote web content.
https://wiki.appcelerator.org/display/guides/Communication+Between+WebViews+and+Titanium