본문 바로가기

IT/Android96

Android] 앱 삭제해도 데이터 남아있다면,, allowBackup, fullBackupContent 앱 삭제 후 재설치했는데 데이터가 남아있는 경우가 있다. Android에서 백업해서는 안 되는 민감한 정보를 다루는 경우 백업을 중지하는 것이 좋다 이를 막기 위해서는 Manifest,xml 에서 android:allowBackup="false" android:fullBackupContent="false" 을 설정해준다. 자동 백업으로 사용자 데이터 백업 | Android 개발자 | Android Developers 자동 백업으로 사용자 데이터 백업 앱의 자동 백업은 Android 6.0(API 수준 23) 이상에서 타겟팅하거나 실행되는 앱의 사용자 데이터를 자동으로 백업합니다. Android는 앱 데이터를 사용자의 Google Drive developer.android.com An Android app.. 2022. 9. 5.
Android] Preference 구분선 넣기 app:allowDividerAbove="true" app:allowDividerBelow="true" 위 pref에는 allowDividerBelow 아래 pref에는 allowDividerAbove 넣어준다. How to manage dividers in a PreferenceFragment? I started dealing with preferences in a PreferenceFragment. Here's what I have: I'm trying to: get rid of the dividers between items. I suppose this can be defined from styles, but I can't figure... stackoverflow.com Note, a divide.. 2022. 9. 5.
Kotlin] 문자열합치기 joinToString https://kkh0977.tistory.com/682 53. (kotlin/코틀린) joinToString 사용해서 배열 데이터 출력 형식 변경 실시 - arrayOf , ArrayList /* =========================== */ [개발 환경 설정] ​ 개발 툴 : Eclipse 개발 언어 : kotlin /* =========================== */ ​ /* =========================== */ [소스 코드] package ex1 //===== [코.. kkh0977.tistory.com https://themach.tistory.com/188 [Kotlin 기초] String 배열을 String으로 합치기 String Array로 형성한 데이터를.. 2022. 6. 20.
Android] Targeting s+ (version 31 and above) requires that one of flag_immutable or flag_mutable 대응 / 안드로이드 12 https://developer.android.com/about/versions/12/behavior-changes-12?hl=ko 동작 변경사항: Android 12를 타겟팅하는 앱 | Android Developers Android 12를 타겟팅하는 앱에 영향을 주는 Android 12의 변경사항을 알아봅니다. developer.android.com 0 대신 PendingIntent.FLAG_MUTABLE를 추가한다. val pendingIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_MUTABLE) https://onedaycodeing.tistory.com/159 안드로이드 12 PendingIntent 이슈 및 대응 .. 2022. 6. 16.