1. 자스 설치하시고
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
2.eclipse 어플 제작틀~~~
http://www.eclipse.org/downloads/
3.안드 모 거시기..
http://developer.android.com/sdk/index.html#download
설정방법 질문 사절...;;;
MainActivity.java
----------------------------------------------------------------
package com.example.sir;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class MainActivity extends Activity {
WebView web;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
web = (WebView) this.findViewById(R.id.web1);
web.setWebViewClient(new WebViewClient());
web.loadUrl("http://sir.co.kr"); //자신에 홈피
}
}
----------------------------------------------------------------
activity_main.xml
----------------------------------------------------------------
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="${relativePackage}.${activityClass}" >
<WebView
android:id="@+id/web1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" />
</RelativeLayout>
----------------------------------------------------------------
저글에 추가좀...