반응형

 

 

Android 버전 코드네임 SDK/API 레벨 갤럭시 S 시리즈 최초 탑재 모델
16.0 Baklava 36 Galaxy S25 (2025)
15.0 Vanilla Ice Cream 35 Galaxy S24 (2024)
14.0 Upside Down Cake 34 Galaxy S23 (2023)
13.0 Tiramisu 33 Galaxy S22 (2022)
12.0 Snow Cone 31 Galaxy S21 (2021)
11.0 Red Velvet Cake 30 Galaxy S20 (2020)
10.0 Android 10 29 Galaxy S10 (2019)
9.0 Pie 28 Galaxy S9 (2018)
8.0/8.1 Oreo 26/27 Galaxy S8 (2017)
7.0/7.1 Nougat 24/25 Galaxy S7 (2016)
6.0 Marshmallow 23 Galaxy S6 (2015)
5.0/5.1 Lollipop 21/22 Galaxy S5 (2014)
4.4 KitKat 19/20 Galaxy S4 (2013)
4.1/4.2/4.3 Jelly Bean 16/17/18 Galaxy S III (업데이트)
4.0 Ice Cream Sandwich 14/15 Galaxy S III (2012)
3.0/3.1/3.2 Honeycomb 11/12/13 - (태블릿 전용)
2.3 Gingerbread 9/10 Galaxy S II (2011)
2.2 Froyo 8 Galaxy S (업데이트)
2.0/2.1 Eclair 5/7 Galaxy S (2010)
1.6 Donut 4 -
1.5 Cupcake 3 -
1.1 없음 2 -
1.0 없음 1 -

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

반응형
반응형

1. AWS 셋업
    - AWS 계정 생성
    - Amplify CLI 설치(npm install -g @aws-amplify/cli)
    - IAM user 계정 추가(secretAccessKey 는 생성시에만 확인 가능하므로 저장 필요)
    - Amplify 설정(amplify configure)

 

docs.amplify.aws/lib/project-setup/prereq/q/platform/android

 

Amplify Framework Documentation

 

docs.amplify.aws

 

2. Android Setup
    - 안드로이드 프로젝트 생성
    - 프로젝트 폴더에서 amplify 초기화(amplify init)
        * IAM user 계정의 accessKeyId, secretAccessKey 입력
        * raw 폴더에 json 파일 생성됨

 

docs.amplify.aws/lib/project-setup/create-application/q/platform/android

 

Amplify Framework Documentation

 

docs.amplify.aws

 

아래 에러 발생시 아래 링크 참조

Neither Cognito Identity or Cognito UserPool was used

stackoverflow.com/questions/65303645/aws-amplify-cognito-auth-error-in-android-app

반응형
반응형

구글에서는 안드로이드 앱을 위해 Key-Value 방식자동 백업 방식의 두가지 방식을 지원한다.

 

1) Key-Value 방식
https://developer.android.google.cn/guide/topics/data/keyvaluebackup.html?authuser=19&hl=ko
위 링크를 보면 BackupAgent의 onBackup(), onRestore() 구현을 통해 쉽게 백업, 복원을 구현할 수 있다.

 

2) 자동 백업 방식
앱의 내부 저장소 폴더 내의 모든 파일에 대해 자동 백업을 수행하며 25MB의 사이즈 제한을 가진다.  

 

아래의 함수로 리턴되는 경로와 파일이 백업된다.

    공유 환경 설정 파일
    getFilesDir()
    getDir(String, int)을 사용하여 액세스하는 앱의 내부 저장소에 저장된 파일
    getDatabasePath(String)에서 반환한 디렉터리의 파일
    getExternalFilesDir(String)에서 반환한 디렉터리의 외부 저장소에 있는 파일


XML파일에 설정을 통해 백업 할 파일과 제외 파일을 명시적으로 설정할 수 있다.

- 자동 백업으로 사용자 데이터 백업
https://developer.android.google.cn/guide/topics/data/autobackup.html?authuser=19&hl=ko

- Codelab : 자동 백업 샘플앱
https://codelabs.developers.google.com/codelabs/android-backup-codelab/index.html?authuser=19&hl=ko#0

- 백업 서비스 등록
https://developer.android.google.cn/google/backup/signup?hl=ko&authuser=19

 

백업 및 복원 테스트를 위한 adb command 
    - bmgr - 다양한 백업 및 복원 작업 실행
        adb shell bmgr list transports  Google 백업 전송이 사용할 수 있고 활성화되어 있는지 확인  
        adb shell bmgr backupnow  key-value 백업을 시작
        adb shell bmgr fullbackup  자동 백업을 시작
        adb shell bmgr backup  BackupManager.dataChanged() 백업리스트에 포함
        adb shell bmgr run 백업 트리거
        adb shell bmgr restore   복원

    - Pending key/value backup 확인
        adb shell dumpsys backup  

반응형

+ Recent posts