ebrahim moradi Member Dec 31, 2023 #1 Hi friends, how save all webview content to clipboard.( In this case my all content is text file). Or save for example this url Https://example.com/1.txt 1.txt , text file content save to clipboard. Thank you so much my beautiful friends.
Hi friends, how save all webview content to clipboard.( In this case my all content is text file). Or save for example this url Https://example.com/1.txt 1.txt , text file content save to clipboard. Thank you so much my beautiful friends.
Erel B4X founder Staff member Licensed User Longtime User Jan 2, 2024 #2 Don't use WebView for this. Download the file with OkHttpUtils2: [B4X] OkHttpUtils2 with Wait For Upvote 0
ebrahim moradi Member Jan 2, 2024 #3 Erel said: Don't use WebView for this. Download the file with OkHttpUtils2: [B4X] OkHttpUtils2 with Wait For Click to expand... Without downloading, it is possible to copy the contents of the text file to the clipboard, without downloading, just read and copy to the clipboard. Upvote 0
Erel said: Don't use WebView for this. Download the file with OkHttpUtils2: [B4X] OkHttpUtils2 with Wait For Click to expand... Without downloading, it is possible to copy the contents of the text file to the clipboard, without downloading, just read and copy to the clipboard.
Erel B4X founder Staff member Licensed User Longtime User Jan 2, 2024 #4 There is no such thing. The data needs to be downloaded to the device before it can be copied to the clipboard. Upvote 0
There is no such thing. The data needs to be downloaded to the device before it can be copied to the clipboard.
ebrahim moradi Member Jan 2, 2024 #5 Erel said: There is no such thing. The data needs to be downloaded to the device before it can be copied to the clipboard. Click to expand... Thank you very much, can we copy the contents of the webview to the clipboard, for example, save a website page that is text after entering the webview to the clipboard, for example, the file SDF.com/56.txt in the webview Now copy the contents of the web view to the clipboard Upvote 0
Erel said: There is no such thing. The data needs to be downloaded to the device before it can be copied to the clipboard. Click to expand... Thank you very much, can we copy the contents of the webview to the clipboard, for example, save a website page that is text after entering the webview to the clipboard, for example, the file SDF.com/56.txt in the webview Now copy the contents of the web view to the clipboard
Erel B4X founder Staff member Licensed User Longtime User Jan 4, 2024 #6 Use the RunJavaScript sub: https://www.b4x.com/android/forum/threads/b4x-webview-ckeditor-rich-text-editor.133260/#content to execute JavaScript that gets the page source and then copy it to clipboard. Upvote 0
Use the RunJavaScript sub: https://www.b4x.com/android/forum/threads/b4x-webview-ckeditor-rich-text-editor.133260/#content to execute JavaScript that gets the page source and then copy it to clipboard.
ebrahim moradi Member Jan 6, 2024 #7 Erel said: Use the RunJavaScript sub: https://www.b4x.com/android/forum/threads/b4x-webview-ckeditor-rich-text-editor.133260/#content to execute JavaScript that gets the page source and then copy it to clipboard. Click to expand... Thank you so much ?. Upvote 0
Erel said: Use the RunJavaScript sub: https://www.b4x.com/android/forum/threads/b4x-webview-ckeditor-rich-text-editor.133260/#content to execute JavaScript that gets the page source and then copy it to clipboard. Click to expand... Thank you so much ?.