[Android] Broadcast Receiver ์ทจ์•ฝ์ 

๊ฐœ์š” ์•ˆ๋“œ๋กœ์ด๋“œ์˜ Broadcast Receiver๋Š” "๋ฐฉ์†ก ์ˆ˜์‹ ์ž"๋ผ๋Š” ์˜๋ฏธ๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ์œผ๋ฉฐ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ 4๋Œ€ ๊ตฌ์„ฑ ๋‹จ์œ„์ค‘ ํ•˜๋‚˜๋กœ ์ธํ…ํŠธ(Intent)๋ผ๋Š” ์ผ์ข…์˜ ๋ฉ”์‹œ์ง€ ๊ฐ์ฒด๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์•ˆ๋“œ๋กœ์ด๋“œ์™€ ์‚ฌ์šฉ์ž ๊ฐ„์— ์ƒํ˜ธ์ž‘์šฉ์„ ํ•ฉ๋‹ˆ๋‹ค. ์—ฌ๊ธฐ์„œ Broadcast Receiver๋ž€ ์•ˆ๋“œ๋กœ์ด๋“œ์—์„œ ์กด์žฌํ•˜๋Š” ์ด๋ฒคํŠธ๋“ค์ด ๋ฐœ์ƒํ•˜๋ฉด ๊ฐ ๊ฐ์ฒด๋“ค๋กœ ์ ์ ˆํ•œ ๋ธŒ๋กœ๋“œ์บ์ŠคํŠธ ๋ฉ”์‹œ์ง€๋ฅผ ๋ณด๋‚ด๊ฒŒ ๋œ๋Š”๋ฐ ์ด๋•Œ ์‹ ํ˜ธ๋ฅผ ๋ฐ›์•„ ์‚ฌ์ „์— ์ •์˜ํ•ด๋†“์€ ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•ด์ฃผ๋Š” ์—ญํ• ์„ ํ•ฉ๋‹ˆ๋‹ค. ์‚ฌ์ „์— ์ •์˜ ํ•ด๋†“์€ ์ž‘์—…์ด๋ž€?? ๋ฐฐํ„ฐ๋ฆฌ ์ƒํƒœ ์•Œ๋ฆผ(๋ฐฐํ„ฐ๋ฆฌ ๋ถ€์กฑ/์ถฉ๋ถ„) ๋ฉ”์‹œ์ง€ ์†ก/์ˆ˜์‹ (๋ฉ”์‹œ์ง€๊ฐ€ ์ „์†ก/์‹คํŒจ๋˜์—ˆ์Šต๋‹ˆ๋‹ค) ์ธ์ฆ์ฝ”๋“œ ์ž…๋ ฅ ์‚ฌ์ง„ ์บก์ฒ˜(์‚ฌ์ง„์ด ์ €์žฅ๋˜์—ˆ์Šต๋‹ˆ๋‹ค) ๋งŒ์•ฝ ๋ณ„๋„์˜ ๊ถŒํ•œ์ด ์—†๋Š” ์ฆ‰ ์•ˆ์ „ํ•˜์ง€ ์•Š์€ ๋ฆฌ์‹œ๋ฒ„ ์„ค์ •์„ ํ•ด๋‘” ๊ฒฝ์šฐ ์‚ฌ์šฉ์ž๊ฐ€ ๋ฐ›๋Š” ์ •์ƒ์ ์ธ ์•Œ๋ฆผ์„ ์ค‘๊ฐ„..

MOBILE