Coder Social home page Coder Social logo

webview-example's People

Contributors

android-for-python avatar robertflatt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

webview-example's Issues

Only show pdf of url

Hello

How can i show a .pdf with this webview on kivy android app?

actually it's only download the pdf, example : "https://www.nexans.fr/.rest/eservice/dam/v1/file/224502/ABS%201357%20Ind%20F.pdf"

But initial webview "import webview" on windows do the work

how can i do please ?

my code with this example lib:

    def open_web(self, url):
        
        if platform == "win":
            self.open_webview_win(url)
            
        if platform == "android":
            try:
                self.open_webview_android(url)

            except NotImplementedError:
                print("GPS non disponible")
  
    def open_webview_win(self, url):
        import webview
        webview.create_window('Go-Fiber webview', url=url)
        webview.start()

    def open_webview_android(self, url):
        print("go",url)
        if platform == "android":
            from tools_go.android_webview.webview_x import WebView
            self.browser = WebView(url,
                                enable_javascript = True,
                                enable_downloads = False,
                                enable_zoom = True)

image

Motion Events in webview

Hi
any chance you have motion events working in webview? I can get on_touch_move working during splash screen, but after the web page is loaded, it all stops.

The use case would be 'pulldown' for page refresh, and swipe left/right for pagination.

thanks!

Kivy webview about youtube

Hi , I'm Youtube channel fan .
I turn a webview apk install on my phone , and open this page.
--> https://support.google.com/youtube/answer/171780
webview app youtube embed fullscreen button is disable , do you know how unlock it ?

apk install
IMG_20210808_001231
open app
IMG_20210808_001310
Kivy webview open youtube embed page , fullscreen button disable .
IMG_20210808_001607
Android Chrome open same page , youtube embed fullscreen button is normally.
IMG_20210808_001733

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.