Contents

Develop
2016.10.21 11:25

[android] 초간단 얼럿 (AlertDialog)

Views 948 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
105 Develop [asem] CMOS 패스워드 알아내기.. 소스.. file hooni 2003.04.23 8757
104 Develop [api] 인스타그램에서 최신 이미지 가져오기 (Using Instagram API) 20 file hooni 2018.04.05 12669
103 Develop [api] 인스타그램 API Access_Token 발급 방법 (Instagram API) 3 file hooni 2018.04.05 7761
102 System/OS [apache2] Redirect HTTP to HTTPS file hooni 2022.02.03 869
101 Develop [android]개발 가이드 및 한글화 문서 file hooni 2013.04.23 47565
100 PPT [android][ios] 알림(Notification) 기능에 대한 원리와 구현 방안 (APNS포함) file hooni 2013.04.23 37922
99 Develop [android] 화면 전환(가로/세로)시 설정 hooni 2013.04.23 43427
98 Develop [android] 해상도 관련 팁 (dip -> pixel 변환) hooni 2013.04.23 15370
97 Develop [android] 코드에서 문자열로 Resource 가져오기 hooni 2015.07.09 4080
» Develop [android] 초간단 얼럿 (AlertDialog) hooni 2016.10.21 948
95 System/OS [android] 초간단 HTTP, POST 전송 샘플 1 file hooni 2017.02.16 3659
94 PPT [Android] 제스처 자료.. file hooni 2013.05.28 51152
Board Pagination Prev 1 ... 85 86 87 88 89 90 91 92 93 94 ... 98 Next
/ 98