webview

  1. practicalsoft

    B4X FEED Get an opposition in the movement between the horizontal motion Asviewpager And Vertical motion WebView

    Get an opposition in the movement between the horizontal motion Asviewpager And Vertical motion WebView During Load Layout, where webview On AsviewPager As in the next code B4X: Dim xpnl As B4XView = xui.CreatePanel("") xpnl.LoadLayout("Lu_LoadIn_ASViewPager")...
  2. practicalsoft

    B4X FEED WebViewSwipeToRefresh

    As AHSwipeToRefresh lib cannot work now with WebView (seems, due to AndroidX) - any solution must be found for pull-to-refresh. So, CLVSwipe Erel's class was reworked into this WVSwipe result class (only for Android from my side). Dependencies: JavaObject, ViewsEx, XUI. * Adjustable ProgressBar...
  3. practicalsoft

    B4X FEED Problem With Webview And Backbutton

    Hello i am newbie ;) this week installed b4a and starting . I added Webview then when i click on Back button get exit from application i tested this code's Android Question - Back button in a Webview I think I have shot myself in the knee with this one. If I have a webview, load an URL then...
  4. practicalsoft

    B4X FEED [SOLVED] Can't load contents in a webview in a .exe from an ssl website.

    I have a test application: a window with a button and a webview. I click on the buttom to browse an url (https:) It works with project-compile and execute. In "build a standalone project" b4j 8.50 creates successfully the .exe but the webview can't load the page (firewall disabled) I use...
  5. practicalsoft

    B4X FEED Can't load contents in a webview in a .exe. Logs reports this warning: javax.net.ssl.SSLException: No PSK available. Unable to resume. (updated)

    I have a test application: a window with a button and a webview. I click on the buttom to browse an url (https:) It works with project-compile and execute. In "build a standalone project" b4j 8.50 creates successfully the .exe but the webview can't load the page (firewall disabled) I use...
  6. practicalsoft

    B4X FEED Can't load contents in a webview in a .exe. Logs reports this warning: javax.net.ssl.SSLException: No PSK available. Unable to resume.

    I have a test application: a window with a button and a webview. I click on the buttom to browse an url (https:) It works with project-compile and execute. In "build a standalone project" b4j 8.50 creates successfully the .exe but the webview can't load the page (firewall disabled) I use...
  7. practicalsoft

    B4X FEED [B4X] Auto Height Webview

    For B4i: Run this JavaScript code after the page is loaded: Sub webview_PageFinished (Success As Boolean, Url As String) wait for (webview.EvaluateJavaScript("document.documentElement.scrollHeight")) webview_JSComplete (Success As Boolean, Result As String) If Success Then...
  8. practicalsoft

    B4X FEED Auto Height Webview

    Dependency: WebViewExtras2 (v2.20) Add WebViewExtra and DefaultJavascriptInterface variable in Global Sub: Sub Globals Dim wve As WebViewExtras Dim jsi As DefaultJavascriptInterface End Sub Initialize WebViewExtra and DefaultJavascriptInterface before loading content in WebView...
  9. practicalsoft

    B4X FEED Auto WebView Size

    Hi all, I searching for a solution to implement an auto WebView height size for B4X (see the attached images). Searching the Forum a found this Samples (by @Erel and by @Alexander Stolte) : [B4X] [XUI] Accurate Text Measurement and Drawing Android Code Snippet - [B4X] [XUI] Accurate Text...
  10. practicalsoft

    B4X FEED WebView keep cookies

    Hello, I want to keep a cookie on my webview (login/password) but I don't succeed. I see https://www.b4x.com/android/forum/threads/webview-cookies.111853/#post-697720 but I don't know what I'll do for keeping cookie from a website. Anyone can help me ? Thanks ادامه مطلب...
  11. practicalsoft

    B4X FEED [WebViewExtras] send data: from WebView to B4X / from B4X to WebView [addJavascriptInterface] [CallSub]

    addJavascriptInterface [WebViewExtras] CallSub [B4XPages] Example I created a Example (after search and not found) send data: from WebView to B4X / from B4X to WebView , using addJavascriptInterface and CallSub, thre are sam B4XPages also, hope it's useful, and there are some room for...
  12. practicalsoft

    B4X FEED 42Nurses - WebView HTML Form For Machine/Robot Control & Home Automation... Now Includes Voice Recognition

    Hello Everyone I believe this is only my second post and I have come here to contribute :) Before I contribute, please allow me to say thank you to Erel for his [B4XPages] Bluetooth Chat Example, because without it, my contribution would not be possible. His example can be found here...
  13. practicalsoft

    B4X FEED WebView

    Been trying WebView and WebEngine. Here's a little example of using both. (requires additional library to run) Shows how to retrieve the hyperlinks in a page and put them in a comboBox, also implement forward and back and home buttons. Type in a web address (http://www...) or file address...
  14. practicalsoft

    B4X FEED 42Nurses - WebView HTML Form For Machine/Robot Control & Home Automation

    Hello Everyone I believe this is only my second post and I have come here to contribute :) Before I contribute, please allow me to say thank you to Erel for his [B4XPages] Bluetooth Chat Example, because without it, my contribution would not be possible. His example can be found here...
  15. practicalsoft

    B4X FEED [B4A] WebView how to hide Zoom Controls (+) (-) buttons ? setDisplayZoomControls(false)

    in AndroidStudio in WebView, I hide the (+) (-) Zoom Controls UI buttons with : WebView setDisplayZoomControls(false): // in AndroidStudio onCreate() : private WebView webView; // .. // hide +- buttons webView.getSettings().setDisplayZoomControls(false); How...
  16. practicalsoft

    B4X FEED [B4A] WebView how to hide Zoom Controls

    in AndroidStudio in WebView, I hide the (+) (-) Zoom Controls UI buttons with : WebView setDisplayZoomControls(false): // in AndroidStudio onCreate() : private WebView webView; // .. // hide +- buttons webView.getSettings().setDisplayZoomControls(false); How...
  17. practicalsoft

    B4X FEED Webview -How to include the Font information in HTML file?

    Hello all, I have an HTML file which uses a certain font. When I load this in Webview, the Font information is not considered. B4A: #Region Project Attributes #ApplicationLabel: B4A Example #VersionCode: 1 #VersionName: 'SupportedOrientations possible values: unspecified...
  18. practicalsoft

    B4X FEED How to call B4A sub from html loaded into WebView

    Hi, I have to call B4A sub from html loaded into WebView. I am using this libs: WevViewExtras2 version 2.20 WevViewSettings version 1.30 I am using B4A version 10. I am using WevViewExtras2 becouse i have to load https web page from specific url... But into my app i first must check internet...
  19. practicalsoft

    B4X FEED Local file with URI fragments in a WebView

    Hi, showing a remote URL with a URI fragment in a WebView works fine. For example the URL https://www.b4x.com/android/help/views.html#webview_loadurl is shown in a Webview. Using a local saved html file with framents does not work. Is there any way to show something like...
  20. practicalsoft

    B4X FEED Can't change Webview to Desktop mode

    Hello all, I have gone through these threads on this topic. https://www.b4x.com/android/forum/threads/view-the-desktop-version-of-a-site-with-webview.108361/ https://www.b4x.com/android/forum/threads/webview-desktop-mode-problem.85401/#post-541491 This one doesn't seem to exist any more...
عقب
بالا