일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- JavaScript
- 배열
- Spring
- 오버로딩
- 안드로이드
- 메서드
- Java
- Menu
- struts2
- layout
- 어노테이션
- JSP
- 메소드
- 클래스
- Graphic
- 기본
- HTML
- OGNL
- Eclips
- 이클립스
- mybatis
- 전화걸기
- AWT
- 예외처리
- paint
- 에러페이지
- 생성자
- Android
- oracle
- 국제화
- 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...