일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 |
30 | 31 |
Tags
- 알고리즘 자바
- 영어독립365
- Android ProgressBar
- Android Navigation
- Android DataBinding
- 영어공부
- WebView
- Android
- 66챌린지
- OkHttp Interceptor
- Kotlin
- MVP Architecture
- Android 12 대응
- DataBinding
- 안드로이드 카카오 로그인
- 프로그래머스 알고리즘
- 안드로이드 갤러리 접근
- Android WebView
- 안드로이드
- scope function
- 카카오 알고리즘
- Kotlin FCM
- Android ViewPager2
- 습관만들기
- Java
- Android Interceptor
- Android 12
- android recyclerview
- 안드로이드 fcm
- Android Jetpack
Archives
- Today
- Total
목록android foreground (1)
Developer Geek

Background vs Foreground 실행(Push 알림, Background vs Foreground) Push 알림을 구현하게 되면, Background 상태에서의 액션과 Foreground 상태에서의 액션을 구분해야할 때가 있다. 예를 들어 Foreground 상태에서는 앱의 특정 Activity를 실행시킬 수 있지만, Background 상태에서는 Splash 화면을 보여준 이후에 특정 Activity로 이동하도록 구현해야할 수도 있다. 이때 앱의 상태값을 확인하여 분기처리 할 수 있는데, Application 클래스를 상속받는 클래스를 통해 상태값을 관리할 수 있다. MyApplication.kt: Application, Livecycleobser 상속 Application 상속: App..
안드로이드/Service
2022. 6. 18. 09:00