Giter Club home page Giter Club logo

superweb's Introduction

SuperWeb 超级浏览器

基于腾讯X5内核

目前已有功能:

  • 1、文件浏览(支持pdf/ppt/doc/excel/txt)
  • 2、文件上传(JS)
  • 3、文件下载
  • 4、Android与JS交互
  • 5、自定义交互(进度条、下拉回弹)
  • 6、视频播放

1、添加依赖和配置

  • 根目录build.gradle文件添加如下配置:
allprojects {
    repositories {
       	maven { url 'https://jitpack.io' }
    }
}
  • APP目录build.gradle文件添加如下配置:
dependencies {
     implementation 'com.github.Victory-Over:SuperWeb:v1.0.2
}
  • 申请权限:
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.CAMERA" />

2、基本功能

  • 文件浏览(支持pdf/ppt/doc/excel/txt)

点我查看效果图

  • 文件上传(Android与JS通信)

点我查看效果图

  • 文件下载

点我查看效果图

  • Android与JS交互

点我查看效果图

  • 自定义交互(进度条、下拉回弹)

点我查看效果图

  • 视频播放

点我查看效果图

superweb's People

Contributors

victory-over avatar

Watchers

James Cloos avatar  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.