어디서 잘못된 건지좀 지적해주세요...
혹시나 .jsp 확장자가 문제인가 해서 .htm으로 변경했는데도 안되더군요...
아 그리고 확장자만 jsp일뿐이지 html로 바꿔서 구성했으니 jsp 읽을 일은 없습니다...
그리고 asset폴더의 파일을 sdcard의 지정된 폴더에 설치할 수 없나요?
<eng.java>
package unist.eng;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
public class eng extends Activity {
/** Called when the activity is first created. */
WebView browser;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
browser = (WebView) findViewById(R.id.webView);
browser.getSettings().setJavascriptEnabled(true);
browser.getSettings().setPluginsEnabled(true);
browser.loadUrl("file:///android_asset/noname1.htm");
}
}
-----------------------
<noname1.htm>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v6.0">
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<p><img src="main.jpg" width="774" height="538" border="0" usemap="#ImageMap1"><map name="ImageMap1">
<area shape="rect" coords="39, 145, 309, 197" href="story1.jsp">
</map></p>
</body>
</html>
-----------------------
<AndroidManifest.xml>
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="unist.eng"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".eng"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-permission android:name="android.permission.INTERNET" />
<uses-sdk android:minSdkVersion="8" />
</manifest>
-----------------------
<main.xml>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
<WebView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/webView" />
</LinearLayout>



