일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- 이클립스
- JSP
- AWT
- 전화걸기
- 에러페이지
- 메소드
- 국제화
- struts2
- oracle
- mybatis
- 배열
- 안드로이드
- 어노테이션
- 생성자
- OGNL
- 예외처리
- 오버로딩
- Android
- Spring
- Graphic
- 클래스
- Java
- paint
- 메서드
- HTML
- Eclips
- 기본
- Menu
- layout
- JavaScript
- Today
- Total
목록preferences (2)
note
main.xml Main Activity package net.npaka.preferencesex; import android.app.Activity; import android.os.Bundle; import android.content.SharedPreferences; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; public class PreferencesEx extends Activity implements View.OnClickListener{ private EditText editText;//텍스트 박스 private Butto..
메인에는 환경설정값을 가져옵니다 (없을시에는 기본값 지정) 환경설정 진입화면 상세화면 진입화면 res > 에 xml 폴더 생성후 -> preferences.xml을 생성합니다 (마우스 몇번만 누르면 가능해서 캡쳐는 생략합니다) main.xml preferences.xml main javafile package com.commonsware.android.prefs; import android.app.Activity; import android.os.Bundle; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.view...