B4A Library Beta Demo: Contacts and SMS backup library

I wrote this library to back up SMS messages and contacts.
It uses Content providers. I think the SMS content provider is not official.
The contacts content provider is official, but it is really hard.

This library will backup SMS/Contacts to a CSV file. (so you can use this backup on your PC or in another app as well).

I have tested it and it works okay on my device and the emulator. I am however wary of testing it too hard on my only device because I dont want to lose all my contacts.

I need to see if it can work on other devices, and then I will release the final library.

SMS:
Only does inbox for now. I think it is easy to do the other folders too.
No MMS support yet.

Contacts:
It restores all phones numbers, email addresses and notes.
I was unable to restore the following fields:
STARRED , TIMES_CONTACTED, LAST_TIME_CONTACTED, PHOTO_ID
Also, I didnt bother with backing up addresses but that can possibly be done.

I think all backup restore apps use this same method to do the backup.

You can use it as a contacts creator library too, if you write out your contact as CSV in the right format, you can use restore to insert a new contact.

Things to add:
Call Logs
Other SMS folders
 

Attachments

  • BackupSMS.apk
    105.2 KB · Views: 313
  • download.jpg
    download.jpg
    23.7 KB · Views: 464
Top