Contents

Develop
2016.10.21 11:25

[android] 초간단 얼럿 (AlertDialog)

Views 820 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

# 초간단 alert 구문 ㅋㅋ

new AlertDialog.Builder(this)
    .setTitle("3G/LTE 데이터 이용 확인")
    .setMessage("이동통신망을 이용하여 웹툰을 보면 별도의 ㄷ이터 통화료가 발생할 수 있습니다.")
    .setNegativeButton("취소", new DialogInterface.OnClickListener() {
        public void onClick(DialogInterface dialog, int which) {
            // do nothing
        }
    })
    .setPositiveButton("확인", new DialogInterface.OnClickListener() {
        public void onClick(DialogInterface dialog, int which) {
            // continue with delete
        }
    })
    .setIcon(android.R.drawable.ic_dialog_alert)
    .show();



?

List of Articles
No. Category Subject Author Date Views
253 Develop [c] 단기과정[01/14] 피보나치, 파스칼.. 파일입출력 file hooni 2003.04.23 7081
252 Develop [c] 단기과정[01/14] 파일 입출력 file hooni 2003.04.23 6821
251 Develop [c] 단기과정[01/10] 과제.. swap(any data, ..) file hooni 2003.04.23 6904
250 Develop [c] 단기과정[01/08] 배열, 포인터 hooni 2003.04.23 7223
249 Develop [c] 단기과정[01/08] 과제.. 파스칼 삼각형 file hooni 2003.04.23 7256
248 Develop [c] 단기과정[01/08] (다차원 + 배열)포인터, void 포인터 hooni 2003.04.23 7770
247 Develop [c] 단기과정[01/07] 제어문, 피보나치수열 hooni 2003.04.23 7410
246 Develop [c] 단기과정[01/06] sizeof, 실수표현, 메모리, 연산자 hooni 2003.04.23 6928
245 Develop [c] 다중연결 서버 만들기 #4 - thread 사용 file hooni 2013.04.23 23704
244 Develop [c] 다중연결 서버 만들기 #3 - poll() 사용 file hooni 2013.04.23 6342
243 Develop [c] 다중연결 서버 만들기 #2 - select() 사용 file hooni 2013.04.23 9363
242 Develop [c] 다중연결 서버 만들기 #1 - fork() 사용 file hooni 2013.04.23 12922
Board Pagination Prev 1 ... 45 46 47 48 49 50 51 52 53 54 ... 71 Next
/ 71