owios7 / android-sms

Automatically exported from code.google.com/p/android-sms
0 stars 0 forks source link

Implement restore functionality #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
SMS Backup currently does not provide any way to restore backed up messages.

While I think a real sync is not really doable given the abilities of the
MMS/SMS content provider, a one-time restore should be fairly straight
forward to implement.

We already have almost all fields of the SMS in the header of the e-mail
such that we can extract it when downloading.

Original issue reported on code.google.com by chstu...@gmail.com on 24 Jan 2009 at 8:35

GoogleCodeExporter commented 8 years ago
i was just wondering since this is aimed at v2... would it be compatible with 
backups
made from version 1?  

thanks for your time
x

Original comment by fahada...@gmail.com on 2 Mar 2009 at 2:19

GoogleCodeExporter commented 8 years ago
Yes, that's the plan.

Original comment by chstu...@gmail.com on 2 Mar 2009 at 1:55

GoogleCodeExporter commented 8 years ago
It's working very nice and was indeed wondering where the restore button was, 
but 
this explains it :)
If u need a beta tester for v2 let me know,
grz AciD

Btw running android on kaiser

Original comment by zero4umobile@gmail.com on 4 Mar 2009 at 10:25

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I really prefer this funktion, because the organisation about gmail is to 
difficult. I hope the release is 
before summer 09.

Regards 
Dominik

Original comment by Dominik....@gmail.com on 17 Apr 2009 at 2:00

GoogleCodeExporter commented 8 years ago
I would very much enjoy this feature. I have a feeling many... "adventerous" 
Android
users would, too.

Original comment by grill...@gmail.com on 14 Jun 2009 at 12:39

GoogleCodeExporter commented 8 years ago
Hi,

Sms Backup is really very great indeed. A Restore function would really be 
nice, I'm
missing it ...

Original comment by denis.ca...@gmail.com on 27 Aug 2009 at 1:57

GoogleCodeExporter commented 8 years ago
yeah, it will be super awesome if we have the restore function!! Thanks for the 
hard 
work !!!

Original comment by wu1...@gmail.com on 11 Dec 2009 at 8:01

GoogleCodeExporter commented 8 years ago
Yeah restore would be great, especially for people flashing a different rom 
every ten
seconds! works great on eclair btw. 

Original comment by Matt.Har...@gmail.com on 26 Dec 2009 at 3:58

GoogleCodeExporter commented 8 years ago
if you don't mind building your own packages, i've added a restore feature to 
android-sms 
http://github.com/jberkel/android-sms/tree/restore_backups 

there's also a prebuilt package in the download section.

Original comment by jan.ber...@gmail.com on 7 Jan 2010 at 7:53

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
successfully tested the restore option added by berkel above, just wondered 
when this 
will be available on the official product. 

Device: Dream, 
Android: eclair

Original comment by jimf...@gmail.com on 27 Jan 2010 at 11:39

GoogleCodeExporter commented 8 years ago
hey jim,

thanks for testing! i've sent christoph my patch and he said he was going to 
look at it, i guess he hasn't had the 
time for it yet. 

Original comment by jan.ber...@gmail.com on 31 Jan 2010 at 12:53

GoogleCodeExporter commented 8 years ago
My HTC Hero is crazy, it sends a single SMS to a contact after Restore my 
SMSes. 
Updated my ROM and Restored after Reboot it sends the SMS, happend twice!

Every time the same SMS which I sent some days ago, its not the last or first.
Nothing special about the backup "mail".

I deleted the specific SMS and mail, hopping it doesn't happen anymore.

Original comment by remyboeh...@gmail.com on 31 Jan 2010 at 5:30

GoogleCodeExporter commented 8 years ago
hey remy,

hmm this shouldn't happen, but it would be helpful if you could send me the 
full headers of that email (view 
original in gmail). maybe you can retrieve it from the trash?

Original comment by jan.ber...@gmail.com on 1 Feb 2010 at 8:44

GoogleCodeExporter commented 8 years ago
from    remyboehler
to  Matthias xxx Xxxxx <matthias.xxx.xxxxx@gmail.com>
date    Fri, Jan 22, 2010 at 5:22 PM
subject SMS with Matthias xxx Xxxxx

Content: «egal»

Original comment by remyboeh...@gmail.com on 1 Feb 2010 at 9:06

GoogleCodeExporter commented 8 years ago
thanks, but there're some headers missing. be sure to use "show original" in 
the gmail web interface. there 
should be a bunch of headers starting with X-smssync-

Original comment by jan.ber...@gmail.com on 1 Feb 2010 at 9:35

GoogleCodeExporter commented 8 years ago
sorry found it ;)

----------------------------------------------------------------------
Message-ID: <n61ibj3huucomyehdmy764yj.1264177345622@email.android.com>
Subject: SMS with Matthias xxx ccccc
To: "Matthias xxx ccccc" <matthias.xxx.rhijn@gmail.com>
From: remyboehler
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: base64
Date: Fri, 22 Jan 2010 17:22:15 +0100
References: <eb05w1pr8740bnd4cg8smxhy.19@smssync.studer.tv>
X-smssync-id: 20
X-smssync-address: +41762638589
X-smssync-type: 4
X-smssync-date: 1264177335905
X-smssync-thread: 7
X-smssync-read: 1
X-smssync-status: -1
X-smssync-backup_time: 22 Jan 2010 16:22:25 GMT

ZWdhbA==

Original comment by remyboeh...@gmail.com on 1 Feb 2010 at 10:09

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
great that's very helpful - i've added a new issue on github
 http://github.com/jberkel/android-sms/issues#issue/1 if you want to check the progress.

Original comment by jan.ber...@gmail.com on 1 Feb 2010 at 10:21

GoogleCodeExporter commented 8 years ago
great
after reboot it sends the sms ;)

Original comment by remyboeh...@gmail.com on 1 Feb 2010 at 10:54

GoogleCodeExporter commented 8 years ago
hey remy,

i think i fixed the bug. can you try installing the new version and restore 
again (if possible with the same email, 
the one which got sent out)  please?

@chstuder: i think the backup logic needs to be changed to exclude 
MESSAGE_TYPE_OUTBOX as well, so these 
sms won't even be backed up.

Original comment by jan.ber...@gmail.com on 2 Feb 2010 at 12:02

GoogleCodeExporter commented 8 years ago
Just wanted to say that I've successfully used the restore functionality to 
restore 839 SMS's onto my Hero after I upgraded it with Android 2.1. Only issue 
was that 24 of the SMS's were marked as unread after the restore, everything 
else perfect as can be.

Thanks!

Original comment by hjernema...@gmail.com on 30 Jun 2010 at 8:18

GoogleCodeExporter commented 8 years ago
@hjernemadsen42: there's a new version out (1.1.2) which lets you mark all 
restored messages as read (advanced settings).

http://github.com/downloads/jberkel/android-sms/android-sms-1.1.2.apk/qr_code

Original comment by jan.ber...@gmail.com on 6 Jul 2010 at 10:26

GoogleCodeExporter commented 8 years ago
For everyone interested in the restore feature: there's now an official apk in 
the android market place, search for "SMS Backup+". The improved version is 
released as open source on github (http://github.com/jberkel/sms-backup-plus/) 
and licensed under the same license as SMS Backup.

Thanks to everyone who helped beta testing!

Original comment by jan.ber...@gmail.com on 8 Aug 2010 at 10:07