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
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.
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.
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 .
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With