Giter Site home page Giter Site logo

msoftware / androidwebviewdemo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jbutz/androidwebviewdemo

0.0 2.0 0.0 172 KB

A demo showing use of the WebView control on Android. It loads both a website in the WebView, launches other pages to the browsers, and loads a local web application.

androidwebviewdemo's Introduction

Android WebView Demo

This is a demo eclipse project showing using of the Android WebView control. It can be used to run a web application from the internet or from local files. Import this project into eclipse to be able to give it a try, and look at the code.

"Install" the Demo

  1. Open Eclipse with the Android packages installed
  2. Click "File"
  3. Click "Import..."
  4. Follow the instructions in the dialog to import the project

Customize

You can customize the demo in two ways. Firstly in WebAppDemo/res/values/strings.xml you can control the default URL and the hosts that can be opened in the app. The app is resticted to only opening 1 host as I have it set up. The default is jasonbutz.info. I have the app set up to load the index file from the WebAppDemo/assets/ folder when it loads. This will show you navigation inside the WebView and allow you to open Google, which loads with default browsers, or jasonbutz.info, which loads with the app.

Resources

Eclipse IDE: http://www.eclipse.org

Android Developer Portal: https://developer.android.com

androidwebviewdemo's People

Contributors

jbutz avatar

Watchers

Michael jentsch 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.