mBackup project

27
mBackup project Project report Android Mobile Programing

description

mBackup project. Project report Android Mobile Programing. Group Members. Hung Pham Danh Huynh Thuong Le An Le. 5. 1. 3. 2. 4. Contents. Introductions. Backup and restore contacts. Backup and restore images. Backup and restore SMS. Backup and restore system settings. 5. 1. 3. - PowerPoint PPT Presentation

Transcript of mBackup project

mBackup projectProject reportAndroid Mobile Programing

Group MembersHung PhamDanh HuynhThuong LeAn Le

Android mBackup K15 Group3

Contents

Introductions1

Backup and restore contacts

Backup and restore images

Backup and restore SMS

2

3

4

TMA Training Center

Backup and restore system settings5

Android mBackup K15 Group4

Contents

Introductions1

Backup and restore contacts

Backup and restore images

Backup and restore SMS

2

3

4

TMA Training Center

Backup and restore system settings5

Android mBackup K15 Group5

Introductions

TMA Training Center

mBackup application for Android moblie phone Android OS version 2.1 and higher SD card support

Features:Backup, restore and schedule backup phone data of: Contacts Images SMS System settings

Android mBackup K15 Group6

Introductions

TMA Training Center

Android mBackup K15 Group7

Contents

Introductions1

Backup and restore contacts

Backup and restore images

Backup and restore SMS

2

3

4

TMA Training Center

Backup and restore system settings5

Android mBackup K15 Group8

Backup and restore contacts

TMA Training Center

Android mBackup K15 Group9

Contents

Introductions1

Backup and restore contacts

Backup and restore images

Backup and restore SMS

2

3

4

TMA Training Center

Backup and restore system settings5

Android mBackup K15 Group10

Backup images – Screen shot

TMA Training Center

Android mBackup K15 Group11

Restore images – Screen shot

TMA Training Center

Android mBackup K15 Group12

Backup Images - Solutions

Get images Get all images on phone

Create “Backup Info file” To save descriptions of backup file, include the path of each image

Create a zip file A zip file contains: images + backup info file

Save zip file Save zip file to sd card

TMA Training Center

Android mBackup K15 Group13

Restore Images - Solutions

Get images from zip file Base on “Backup Info file”, get info about backup

version.

If restore type is “Merge”, keep images which are not in the backup file, and restore images in the backup file

If restore type is “Override”, delete all images which are not in the backup file and restore images in the backup file to the phone

TMA Training Center

Android mBackup K15 Group14

Contents

Introductions1

Backup and restore contacts

Backup and restore images

Backup and restore SMS

2

3

4

TMA Training Center

Backup and restore system settings5

Feature

15

Restore

Backup

New

Incremental

SpecialContact

Override

Delete File

View backup

Schedule

Extend

16

Screen shot

Solutions (Backup)

17

Uri uri = Uri.parse("content://sms");Cursor cur = getContentResolver().query(uri, null, null, null, null);

while (cur.moveToNext()) { String address = cur.getString(cur.getColumnIndex(“address")); …..}

Solutions (Restore)

18

Uri uri = Uri.parse("content://sms");ContentValues values = new ContentValues();values.put("address", address);…getContentResolver().insert(uri, values);

Android mBackup K15 Group19

Demo

TMA Training Center

Android mBackup K15 Group20

Contents

Introductions1

Backup and restore contacts

Backup and restore images

Backup and restore SMS

2

3

4

TMA Training Center

Backup and restore system settings5

Android mBackup K15 Group21

System settings – Screen shot

TMA Training Center

Android mBackup K15 Group22

System settings – Screen shot

TMA Training Center

Android mBackup K15 Group23

Schedule for backup System settings

TMA Training Center

Android mBackup K15 Group24

Backup System settings – Screen shot

TMA Training Center

Android mBackup K15 Group25

Backup System settings

TMA Training Center

Issuse/Solution

Problem about asyntctask and roration when loging Dropbox…

Some unknows error about elise

???

Android mBackup K15 Group