Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: back-up messages and files programmatically

Is it possible to back-up messages (SMS, MMS, email) and files (both on internal and external memory) then restore it using the same application without having to root/jailbreak the device? Either possible or not, what approach will I consider? [Kindly support with SSCCE, Thanks]

I am consider Android 2.2 (Froyo) as my base platform.


UPDATE: Jan. 30, 2013

Update my question

like image 500
David B Avatar asked Jan 08 '13 18:01

David B


People also ask

Can you backup Android text messages?

Initially, if you're on Android 8 or later, Android lets you back up your app data, contacts, device settings, call history and SMS text messages to Google Drive. This lets you backup text messages to Google Drive automatically and restore them when you sign-in to a new Android phone.

How can I read SMS messages from the device programmatically in Android?

parse("content://sms/inbox"); // List required columns String[] reqCols = new String[]{"_id", "address", "body"}; // Get Content Resolver object, which will deal with Content Provider ContentResolver cr = getContentResolver(); // Fetch Inbox SMS Message from Built-in Content Provider Cursor c = cr.

What is Android allowBackup true?

The allowBackup attribute determines if an application's data can be backed up and restored, as documented here. By default, this flag is set to true . When this flag is set to true , application data can be backed up and restored by the user using adb backup and adb restore .


1 Answers

Is it too much of a longshot just to quote this question for the bounty?

How to Read MMS Data in Android?

Be sure to request the READ_SMS permission in your manifest.

like image 127
hwrdprkns Avatar answered Sep 17 '22 21:09

hwrdprkns