basic

package
v0.0.0-...-8e96db4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

README

This basic example project was generated using the following command and uses the Android system Webview. It should work in Android Kit Kat and higher versions

mobilehtml5app -name BasicExample -apitarget 1 -webview system

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App implements a web server backend for an android app

func NewApp

func NewApp() *App

NewApp returns an App

func (*App) Start

func (app *App) Start() (string, error)

Start is called by the native portion of the webapp to start the web server. It returns the server root URL (without the trailing slash) and any errors.

func (*App) Stop

func (app *App) Stop()

Stop is called by the native portion of the webapp to stop the web server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL