webview

  1. D

    Android Question Persist Webview through Orientation Change

    This is with reference to: https://www.b4x.com/android/forum/threads/persist-tabstrip-through-orientation-change.104100/#post-652854 How do I use StateManager to preserve a WebView through orientation change. In particular I need to preserve the webview backforward history. I have attached a...
  2. D

    Android Question Copy Webview BackForward History

    I would like to save the backforward history of a webview. Getting the history is trivial with: Dim wve As WebViewExtras Dim backforward As WebBackForwardList backforward = wve.CopyBackForwardList What I would like to do is copy that backforward history to another webview. There does...
  3. Highwinder

    Android Question Need Help: WebView is Caching/Not Updating Web Content

    The time has come for me to beg for help. I have read through the forum and have discovered several posts of people complaining that the WebView is not updating content because it is being cached. However, none of the solutions posted seem to work for me, as either nothing changed or the app...
  4. D

    Android Question Webview Obtaining Final Url After Redirect

    Many banner add networks redirect visitors to another website. In my app I need to create a history manually for various technical reasons. These redirects are ending up in my history. How can I detect the final Url that a page redirects to and then just put that Url in my history. One...
  5. D

    Android Question Indentifying WebView Triggering _PageFinished Event

    My activity has more than one webview. How do I determine which webview triggered the Page Finished event? Sub myWebview_PageFinished(Url As String) Log("myWebview Attributes") Log(Url) 'This is the right url Log(myWebview) 'This is the wrong webview End Sub It looks like the...
  6. I

    Android Question Webview does not load page

    Activity.LoadLayout("Layout1") WebView1.LoadUrl("https://europlusfrontb2b.cangooroodns.com.br/") Sub Activity_Create(FirstTime As Boolean) 'Do not forget to load the layout file created with the visual designer. For example: Activity.LoadLayout("Layout1") Dim https As String...
  7. T

    iOS Question How do I upload a PDF file from storage/iCloud/iBooks?

    Is it possible to add an option to select a storage / iCloud / iBooks PDF file? And so keeping the options shown in the image.
  8. F

    Android Question WebView - Html FilePicker doesn't work

    Hi, I've been trying to upload a file from a webview but when I click on "Choose file" nothing happens. I've searched on the Internet and it seems like I should override the method "openFileChooser" but I'm not sure how to (or if I can) do that on B4A...
  9. T

    iOS Question How do I download a PDF file from Webview?

    I followed this thread https://www.b4x.com/android/forum/threads/how-to-go-back-in-webview-and-how-to-download-pdf-file.66546/ And my code is: Sub WebView1_OverrideUrl (Url As String) As Boolean If Url.EndsWith(".pdf") Then Dim j As HttpJob j.Initialize("pdf", Me)...
  10. eps

    iOS Question WebView in iOS....

    I've developed a few small Apps in B4A, but I'm conscious that I need to place them on iOS as well... I'm working towards a game, with HTML5, Javascript and using Babylon.js Has anyone converted a WebView from B4A? If so can they let me know if they have been able to successfully convert the...
  11. Q

    Android Question Problem with Webview Button Click (WebViewExtras)

    hello, I am currently playing with webviews, but fail to click a button. It is a simple html and php file, both limited to the most necessary, with an input field and a submit button. I can write into the field using webviewextras, but the button is not triggered. can someone possibly tell me...
  12. MarkusR

    Android Question Issue with WebView and Pages from Node-RED

    it seems that webview can not display pages from Node-RED server (v0.19.4). https://nodered.org/ it looks ok in chrome browser but at webview it is just white. example page in chrome browser:
  13. R

    Android Question Upload in webView (WORK)!

    Hi all, I found a way (in a somewhat accidental) to run the file upload in a WebView. I have used WebViewExtras and WebViewExtras2, but in the .b4a project file I have declared FIRST WebViewExtras2 and THEN WebViewExtras . When, the code are whis: Sub Globals 'These global variables will...
  14. appie21

    iOS Question Webview refresh with a timer

    Hello I have a webview that i give a refresh every 10 seconds When a user is on that page and it is scrolling down all work well But when the timer activates the page will reload but starts at the top of the page how can i set it that when a page reload the page stay on his position? Or is...
  15. J

    Android Question WebView LoadUrl Trying To Download

    Hi. I'm creating an app that connects to a main device and duplicate what the main device is doing (mirroring). I took the MJPEG_CCTV project and modified to send screenshots. In Windows via web browser when I connecto to the URL works perfectly. But when I use WebView is doing nothing. I...
  16. Angel Garcia

    Android Question PayPal Credit card payment option not showing on Webview

    Hi All, I'm following this thread https://www.b4x.com/android/forum/threads/b4i-and-paypal.90096/ And i don't know why in a single Webview i'm not able to visualize the credit card payment option: I have tried the same html code in different browsers on computer(explorer and chrome so far)...
  17. Phayao

    Android Question greek characters from sqlite not shown in webview

    Hello, I like to display greek words from an sqlite DB in a webview, using <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> in the head. But that seems to change nothing. Most characters are shown, but some are just left out, especially those with a tilde and accent as \...
  18. K

    Android Question WebviewExtras2 AddJavascriptInterface Not working

    Hello every one. in the folloowing code I use WebviewExtras2.AddJavascriptInterface to call a sub from B4a . but it never works , and I cant figure out the problem with this code and why the 'MyFunction' never gets reached Also I'm not sure about the first parameter to the...
  19. R

    Android Question resizing web page to webview

    I am trying to display a webpage in a webview. webview1.loadurl("http://www.yahoo.com") When the page loads, it extends beyond the right edge of the webview. Is there a way to get the webpage to render resized to the dimensions of the webview object?
  20. A

    Android Question back button(kiosk) to back in webview

    hi, my english is not so good.. someone knows how to do that when i press the back button(on my device), in the webview it will return back(to the before-last page). thanks
Top