Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- LiveData
- 알고리즘
- Algorithm
- onMeasure
- lifecycle
- activity
- ViewModel
- 백준
- BOJ
- Behavior
- onLayout
- AppBarLayout
- DataBinding
- 코틀린
- room
- View
- CustomView
- 안드로이드
- kotlin
- 알림
- CoordinatorLayout
- hilt
- notification
- Coroutine
- Android
- HTTP
- sqlite
- Navigation
- CollapsingToolbarLayout
- recyclerview
Archives
- Today
- Total
목록foreground service (1)
개발일지
삽질 - Android ForegroundService
권한설정 Oreo이상에서 ForegroundService는 권한이 필요하다. startForeground startForeground에서 id값은 0이면 안된다. 오류 startForeground(0, NotificationCompat.Builder(this, NOTIFICATION_CHANNEL_ID).build()) 해결 startForeground(1, NotificationCompat.Builder(this, NOTIFICATION_CHANNEL_ID).build())
삽질
2020. 11. 29. 16:10