일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- RX
- RXjava
- RxJava2
- Rx자바
- java
- Retrofit2
- Switch to the Play Referrer API by March 1
- 안드로이드
- rxandroid
- deprecating the install_referrer
- hardcoded string search
- Android
- android P
- 하드코드검색
- andorid studio
Archives
- Today
- Total
목록android P (2)
Lucky Dog
[안드로이드] P 버전 노티피케이션 아이콘 제대로 안보이는 문제 (android P notification icon not showing)
투명한 배경의 흰색 아이콘으로 만들어야 한다. (White icon) 안드로이드 Pie (9.0 / API 28) 기기에서 일반 이미지 아이콘을 Notification smallIcon 으로 사용하면원래 이미지가 아니라 흰색 또는 회색 단색으로 푸시 아이콘이 표시된다. 투명한 배경의 흰색 아이콘을 만든 후 코드 상에서 분기하면 해결. if (android.os.Build.VERSION.SDK_INT >= 28) { // Android P icon = R.drawable.ic_white_noti;}Colored by Color Scriptercs 참고 제작도구 : Android studio > New > Image Assets > IconType(Notification)
안드로이드
2019. 1. 7. 10:58
[안드로이드] Android P (9.0) Error. CLEARTEXT communication 'IP' to not permitted by network security policy
에러발생 원인 안드로이드 P 버전(9.0) 에서 'HTTP' 를 사용하면 발생. - java.net.UnknownServiceException : CLEARTEXT communication to xx.xxx.xxx.xx not permitted by network security policy - java.io.IOException: Cleartext HTTP traffic to www.google.com not permitted 해결방법 1. AndroidManifest.xml 수정 android:usesCleartextTraffic="true" 추가 2. HTTPS 사용
카테고리 없음
2018. 12. 21. 14:57