728x90
๋ฐ์ํ
Intent notificationIntent = new Intent(getApplicationContext(), MainActivity.class);
notificationIntent.setAction(Intent.ACTION_MAIN);
notificationIntent.addCategory(Intent.CATEGORY_LAUNCHER);
notificationIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
์งํํ๊ณ ์๋ MainActivity๋ก ๋ค์ ์ด๋์ ํ๊ณ ์ถ์ ๊ฒฝ์ฐ.
์ถ์ฒ:
https://like-tomato.tistory.com/156
https://stackoverflow.com/questions/5502427/resume-application-and-stack-from-notification
728x90
๋ฐ์ํ
'๐จ๐ผโ๐ป๊ฐ๋ฐ > ์๋๋ก์ด๋ ์คํ๋์ค' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
์๋๋ก์ด๋ ์คํ๋์ค - HTTP ํต์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ(Volley) (0) | 2022.04.05 |
---|---|
์๋๋ก์ด๋ ์คํ๋์ค - RecyclerView(๋ฆฌ์ฌ์ดํด๋ฌ๋ทฐ) ์กฐ์ (0) | 2022.03.30 |
์๋๋ก์ด๋ ์คํ๋์ค - ์ฑ ์์ด์ฝ ์จ๊ธฐ๊ธฐ/๋ณด์ด๊ธฐ (0) | 2021.12.19 |
์๋๋ก์ด๋ ์คํ๋์ค - ๋ถํ ์ ์๋ ์คํ (0) | 2021.12.19 |
์๋๋ก์ด๋ ์คํ๋์ค - ๋ฐฑ๊ทธ๋ผ์ด๋ ์๋น์ค ์คํ (0) | 2021.12.19 |