mBackup project
-
Upload
bruce-brewer -
Category
Documents
-
view
39 -
download
0
description
Transcript of mBackup project
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 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 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 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
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 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 Group25
Backup System settings
TMA Training Center
Issuse/Solution
Problem about asyntctask and roration when loging Dropbox…
Some unknows error about elise