Giter VIP home page Giter VIP logo

superwebview's Introduction

SuperWebView

License License Code of Conduct

If you want to create an Android app from any website without writing a lot of code, SuperWebView is the perfect solution for you. It is a ready-made WebView template that saves you time and hassle.

Features

  • Support Android 5.0+
  • Progress bar to indicate a webpage is being loaded.
  • Swipe down to refresh current webpage.
  • Show custom error page in times of connectivity issues.
  • Protect WebView's state from configuration changes. (e.g. screen orientation and keyboard availability changes)

Build

  1. Click the Code button, which brings up a dialog.
  2. In the dialog, click the Download ZIP button to save the project to your computer. Wait for the download to complete.
  3. Locate the file on your computer (likely in the Downloads folder).
  4. Double-click the ZIP file to unpack it. This creates a new folder that contains the project files.
  5. Start Android Studio.
  6. In the Welcome to Android Studio window, click Open an existing Android Studio project.
  7. In the Import Project dialog, navigate to where the unzipped project folder is located.
  8. Double-click on that project folder.
  9. Wait for Android Studio to open the project.
  10. Click the Make Project button to build the app.

Customize

  1. In MainActivity.kt, put your own website URL as the value of WEBSITE constant.
  2. Replace default app icons with your own.

Optional: Change the value of javaScriptEnabled to false in MainActivity.kt if your website doesn't contain any JavaScript elements.

superwebview's People

Contributors

roozbehzarei avatar

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.