GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - latitov/Android_WebViewApp_FullScreen: Ref example to implement web apps on Android using WebView in full screen mode

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
AndroidManifest.xml
AndroidManifest.xml
 
 
MainActivity.kt
MainActivity.kt
 
 
README.md
README.md
 
 
WebAppInterface.kt
WebAppInterface.kt
 
 
activity_main.xml
activity_main.xml
 
 
index.html
index.html
 
 

Repository files navigation

Android_WebViewApp_FullScreen

Ref example to implement web apps on Android using WebView in full screen mode

It's in Kotlin, but otherwise equally applies to Java as well.

This repository demonstrates and provides a reference example of three things at once:

  1. How to make full-screen activity
  2. How to use WebView, and integrate it with Android backend using JavascriptInterface
  3. How to properly make calls back and forth between JS and Android, placing them on UI thread

To make things lightweight, I didn't attach whole Android Studio project, but instead only the essential files that should be placed in an empty project: manifest, layout, and two files with code, and html file (put it into res/assets/ project folder).

This has been tested and works. Thus you can rely on it.

About

Ref example to implement web apps on Android using WebView in full screen mode

Topics

androidjavascriptinterfacekotlinwebappwebview

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.