source: other-projects/tipple-android/src/org/tipple/mapDisplay/InfoView.java@ 26523

Last change on this file since 26523 was 26523, checked in by davidb, 11 years ago

A version of Tipple with the mods Casey made for her Masters work

File size: 552 bytes
Line 
1package org.tipple.mapDisplay;
2
3import android.app.Activity;
4import android.os.Bundle;
5import android.webkit.WebView;
6
7/**
8 * Simple activity to display the info web page from the assets folder.
9 */
10public class InfoView extends Activity {
11 @Override
12 protected void onCreate(Bundle savedInstanceState) {
13 super.onCreate(savedInstanceState);
14 WebView webView = new WebView(this);
15 webView.loadUrl("file:///android_asset/info.xml");
16 setContentView(webView);
17 }
18
19 @Override
20 protected void onResume() {
21 super.onResume();
22 }
23}
Note: See TracBrowser for help on using the repository browser.