안드로이드 소스(9)
-
안드로이드 다이얼로그
[안드로이드,Android]다이어로그,AlerDialog (버튼3개)-확인,중립,취소 package com.example.teste22; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import android.content.DialogInterface.OnClickListener; import android.os.Bundle; import android.widget.Toast; public class MainActivity extends Activity { @Overri..
2013.05.30 -
[안드로이드,Android]스피너,Spinner
MainActivity.java package com.example.ggari_spinner; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemSelectedListener; import android.widget.ArrayAdapter; import android.widget.Spinner; import android.widget.Toast; public class MainActivity extends Activity { ArrayAdapter adspin; @Override..
2013.02.06 -
[안드로이드,Android]키보드 보이기, 숨기기
package com.example.ggari_keyboard; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.view.inputmethod.InputMethodManager; import android.widget.Button; import android.widget.EditText; public class MainActivity extends Activity { InputMethodManager Imm; Button btnShow; Button btnHide; EditText et01; public vo..
2013.01.28 -
[안드로이드,Android]메뉴 옵션
package com.example.ggari_optionmenu; import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.SubMenu; import android.widget.TextView; import android.widget.Toast; public class MainActivity extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); TextView tv = new TextView(t..
2013.01.24 -
[안드로이드,Android]탭,TabHost 만들기
레이아웃 부분
2013.01.15 -
[안드로이드,Android] map 주소 가저오기
안드로이드 지오코딩 주소가저오기 Map01Activity.java package kr.co.test.map01; import java.io.IOException; import java.util.List; import java.util.Locale; import android.content.Intent; import android.graphics.drawable.Drawable; import android.location.Address; import android.location.Criteria; import android.location.Geocoder; import android.location.Location; import android.location.LocationListener; import a..
2013.01.14