get rid of unused DictActivity

This commit is contained in:
eehouse 2010-03-13 23:11:11 +00:00
parent 5ef7697c05
commit 0fc42fe85c
2 changed files with 0 additions and 45 deletions

View file

@ -69,13 +69,6 @@
>
</activity>
<activity android:name="DictActivity"
android:theme="@android:style/Theme.Light"
android:label="@string/title_game"
android:screenOrientation="sensor"
>
</activity>
<activity android:name="BoardActivity"
android:theme="@android:style/Theme.Light"
android:label="@string/title_game"

View file

@ -1,38 +0,0 @@
/* -*- compile-command: "cd ../../../../../; ant reinstall"; -*- */
package org.eehouse.android.xw4;
import android.app.Activity;
import android.webkit.WebView;
import android.os.Bundle;
import android.webkit.DownloadListener;
public class DictActivity extends Activity {
private WebView m_webview;
@Override
public void onCreate( Bundle savedInstanceState )
{
super.onCreate( savedInstanceState );
setContentView( R.layout.dict_browse );
m_webview = (WebView)findViewById( R.id.dict_web_view );
m_webview.setDownloadListener( new DownloadListener() {
public void onDownloadStart( String url, String userAgent,
String contentDisposition,
String mimetype,
long contentLength) {
Utils.logf( "url: " + url );
Utils.logf( "userAgent: " + userAgent );
Utils.logf( "contentDisposition: " + contentDisposition );
Utils.logf( "mimetype: " + mimetype );
Utils.logf( "contentLength: " + contentLength );
}
} );
m_webview.loadUrl( getString( R.string.dict_url ) );
}
}