webview

  1. D

    Android Question Copying State Between Webviews

    I am using a bundle to copy state from Webview1 to Webview2. Here is the "paste" code: Dim jo As JavaObject = myWebview jo.RunMethod("restoreState", Array(myBundle)) This code compiles, but does not actually paste the new state into Webview2. Webview2 retains its old state. I presume I need...
  2. GERSON PINTO

    Android Question findAll in webview

    Hello! Attached is a simple project that load a webpage in a webview and using the findAll RunMethod2 search and highlight all words searched. It's ok! Why Log(FindAll(WebView1, word)) always return 0? I need count the number of occurrences the word found.. How I can do this? What is wrong in...
  3. Loibl Johann

    German Webview verlangt immer login beim Drehen

    Was kann ich bitte machen damit sich das Webview nicht immer auslogt wenn ich das Telefon drehe?
  4. Mashiane

    Android Tutorial MySQL data to webview using PHP

    Hi there The purpose of this is to demo how one can add, update, read and display mysql database records into a webview. 1. Setting up development environment For this we have used, Xampp with MySQL, BlueStacks android emulator to install and test our apk, some php with CRUD functions etc...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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.
  12. 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...
  13. 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)...
  14. 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...
  15. 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...
  16. 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:
  17. 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...
  18. 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...
  19. 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...
  20. 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)...
Top