package soo.webview;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;

public class WebViewTest extends Activity {
    /** Called when the activity is first created. */
	WebView wv;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        wv = (WebView)findViewById(R.id.webView01); 
//        wv.getSettings().setJavaScriptEnabled(true);
//        wv.loadUrl("http://www.naver.com");
        
//        String html="<html><head></head><body>" +
//	        		"Hello Android !!!<br> " +
//	        		//"<img src='http://static.naver.com/www/u/2010/0211/nmms_183926226.jpg'/>"+
//	        		"<img src='http://thumbview02.search.naver.com/thumbnails?type=r150&q=http://cafefiles.naver.net/20100211_115/xoeh228_1265890966106039Fq_jpg/_4_vudyzasi_xoeh228.jpg'/>"+
//	        		"</body></html>";
        
        String servlet = "<html><body>"+
        				 "<a href='android.do?name=abc'>servlet invokation</a>"+
        				 "</body></html>";
	    wv.loadData(servlet, "text/html", "UTF-8");
	      
    }
}