GET-sms-backup-plus-master

所属分类:手机短信编程
开发工具:Java
文件大小:320KB
下载次数:1
上传日期:2014-06-06 13:25:30
上 传 者mohsen2007
说明:  Get backup form all of your sms using java programming language.

文件列表:
.travis.yml (715, 2014-05-10)
AndroidManifest.xml (6760, 2014-05-10)
CHANGES (6176, 2014-05-10)
COPYING (11358, 2014-05-10)
NOTICE (826, 2014-05-10)
Rakefile (3625, 2014-05-10)
assets (0, 2014-05-10)
assets\about.html (3574, 2014-05-10)
contrib (0, 2014-05-10)
contrib\dedup.py (4842, 2014-05-10)
lint.xml (1171, 2014-05-10)
pom.xml (8993, 2014-05-10)
res (0, 2014-05-10)
res\drawable-hdpi (0, 2014-05-10)
res\drawable-hdpi\ic_launcher.png (4854, 2014-05-10)
res\drawable-hdpi\ic_notification.png (746, 2014-05-10)
res\drawable-mdpi (0, 2014-05-10)
res\drawable-mdpi\ic_done.png (1752, 2014-05-10)
res\drawable-mdpi\ic_error.png (1669, 2014-05-10)
res\drawable-mdpi\ic_idle.png (1368, 2014-05-10)
res\drawable-mdpi\ic_launcher.png (2807, 2014-05-10)
res\drawable-mdpi\ic_notification.png (545, 2014-05-10)
res\drawable-mdpi\ic_syncing.png (1541, 2014-05-10)
res\drawable-xhdpi (0, 2014-05-10)
res\drawable-xhdpi\ic_notification.png (1091, 2014-05-10)
res\drawable (0, 2014-05-10)
res\drawable\ic_done.png (1752, 2014-05-10)
res\drawable\ic_error.png (1669, 2014-05-10)
res\drawable\ic_idle.png (1368, 2014-05-10)
res\drawable\ic_launcher.png (2807, 2014-05-10)
res\drawable\ic_notification.png (545, 2014-05-10)
res\drawable\ic_syncing.png (1541, 2014-05-10)
res\layout (0, 2014-05-10)
res\layout\about_dialog.xml (408, 2014-05-10)
res\layout\auth_activity.xml (325, 2014-05-10)
res\layout\status.xml (2961, 2014-05-10)
res\menu (0, 2014-05-10)
... ...

## SMS Backup+ [![][Icon]][MarketLink] [![Build Status](https://secure.travis-ci.org/jberkel/sms-backup-plus.png?branch=master)](http://travis-ci.org/jberkel/sms-backup-plus) This is a fork of the Android backup tool [SMS Backup](http://code.google.com/p/android-sms), where development has stopped a while ago. It uses Gmail to perform SMS, MMS and call log backups over the network. Main differences / improvements: * New restore feature. SMS stored on Gmail can be transferred back to the phone. This even works for users who have already created their backups with older versions of SMS Backup. Note: MMS are currently not restored. * XOAuth: SMS Backup+ will never ask you for your Gmail password. Instead it uses [XOAuth](http://code.google.com/apis/gmail/oauth/) to get access to your data. You can revoke the access rights at any time. * MMS backup support (since `1.1`), only available on Android 2.x * Call log backup (since `1.2`), with Google Calendar integration (since `1.3.`) and restore (since `1.4`). * WhatsApp message backup (since `1.5.0`) * Batch size limits removed. * Works with any IMAP server (but defaults to Gmail). Tested with Android 1.5 - 4.2.x. SMS Backup+ is available for free in the Google Play Store, there will never be a pro / paid version. But if you find the app useful and want to support the development of it you can make a donation from within the app itself, using the secure Play Store payment mechanism. To get updates and participate in the beta programme join the [community][] on Google+. ## Usage ### Installation ![MarketQRCode][] Install via the Android QR code link, [Google Play][MarketLink]. ### First steps You need to have an IMAP account or a Gmail account with IMAP enabled. See the [Enabling IMAP in Gmail][] help page to learn how to enable IMAP for your Gmail account or look at this [screenshot][imapenableshot]. If you use Google Apps make sure you select "Sign in with a Google Apps Account" ([screenshot](http://skitch.com/jberkel/ditwx/5554-emu-2.2)). After starting SMS Backup+, tap on the "Connect" check box to start the authorization process. On newer Android devices you'll be presented with a list of gmail accounts to be used for the backup. You'll need to give SMSBackup+ the permission to access your emails. On older devices a browser window will open where Gmail either prompts you to log in *or* (if you were already logged in) a screen asking you to give SMS Backup+ permission to access your emails. After clicking on "Grant Access" SMS Backup+ will become visible again, the checkbox should now be checked, indicating that the authorization process was successful. ### Upgrading (for users of SMS Backup) You don't need to uninstall the old version in order to try out SMS Backup+. However make sure that "Auto backup" is disabled in both apps, otherwise you might end up with messages backed up multiple times, resulting in duplicates in Gmail. If you've used SMS Backup before you should just connect your Gmail account as described above (SMS Backup+ is not able to access login information stored by SMS Backup). Make sure you select "Skip" when asked about the initial sync, otherwise already backed up messages will be backed up again. ### Initial backup It is important that you perform the first backup manually. SMS Backup+ needs to know whether you want to upload messages currently stored on your device or not. After having connected your Gmail account, SMS Backup+ will ask you to perform a first sync. If you choose "Backup", SMS Backup+ will start backing up all your messages to Gmail. If you choose "Skip", nothing is sent to Gmail and all messages currently stored on your device are simply marked "backed up". This option is handy if you previously uninstalled SMS Backup+ and do not want to send your messages again to Gmail. Please note that any messages arrived after you last uninstalled SMS Backup and this initial backup won't ever be backed up to Gmail. After you performed your initial backup, SMS Backup+ is ready to run in the background and finish uploading all of your current and future messages (check "Auto Backup"). Make sure that you have `Background data` enabled in your Android `Accounts & Sync` settings ([screenshot](http://skitch.com/jberkel/d9pi7/5554-emu-2.2)). ### Restoring If you wish to restore messages back to your phone tap "Restore". By default all messages stored on Gmail will be restored (this can be changed in "Advanced Settings"). You can safely restore to a phone which has already message stored on it, SMS Backup+ will skip the restore of already existing messages. ### Call log support SMS Backup+ can also backup and restore your call logs. It stores all calls using a separate label (defaults to `Call log`, but can be changed in Advanced Settings). If you wish you can set this to the same value as `SMS`, to make all backed up data use the same label. The body of the call log message contains the duration of the call in seconds followed by the phone number and call type (`incoming` / `outgoing` / `missed`). An example: 267s (00:04:07) +44123456789 (incoming call) You can also add call log entries to a Google calendar. Just select `Calendar sync` in Advanced settings, and make sure you have selected a calendar to sync with. If you only want to backup specific call types you can do so as well. ### WhatsApp support SMS Backup+ can also transfer your WhatsApp messages to your gmail account. In order for this to work you need to make sure to have "Backup conversations" enabled in WhatsApp (Settings - Chat Settings, see [screenshot][whatsapp-screenshot]). To enable the backup in SMS Backup+, go to "Advanced Settings", then "Backup Settings" and tick the "Backup WhatsApp" checkbox. The messages will be backed up to the "WhatsApp" label in gmail. Note that WhatsApp messages are backup only, there is no way to restore them. ### 3rd party app integration If you want to trigger backups from another app, enable `3rd party integration` in Advanced Settings and send the broadcast intent `com.zegoggles.smssync.BACKUP`. This will work even when Auto Backup is disabled. ### Usage without Gmail (IMAP) You don't have to use Gmail to backup your text messages - change Authentication to Plain text in "Advanced Settings - IMAP server settings", then change the server address / username and password accordingly. Make sure to set security to "SSL (Optional)" if the IMAP server you're connecting to has a self-signed certificate ("Unknown certificate" error during backup). Also note that Gmail labels correspond to IMAP folders, which will automatically be created the first time you're performing a backup. ## FAQ ### General questions #### Why does it need so many permissions? * Read contacts - Needed to map phone numbers to names and email addresses * Your messages (read / write SMS) - Needed for backup+restore * Prevent phone from sleeping - needed to keep network active during a backup * Modify calendar events - needed for the call log backup to GCal * Send email to guests - this refers to calendar invitations (which are not created by the app) * Storage (modify/delete SD card contents) - this is needed for caching * Find accounts on the device - used for authentication * Use accounts on the device - used for authentication * Google Play billing service - used for in-app donations * Run at startup - used to enable automatic backups after reboot #### When updating the app I get 'Package file was not signed correctly' Try uninstalling the app, then installing the new version. Make sure to select "Skip" when doing the first backup, otherwise messages will get backed up twice. #### I want to file a bug report, what should I do? First check [github issues](https://github.com/jberkel/sms-backup-plus/issues) and see if the bug has already been reported. If not, create a new issue and attach the following details: * Version of SMS Backup+ used * Version of Android / brand of phone used If it is related to backing up / restoring you should also enable the sync log in debug mode (Advanced settings) and attach a relevant portion of it. The sync log is located on your SD card as "sms_backup_plus.log". To attach the sync log create a "gist" (https://gist.github.com) and link to the gist you created instead of posting the full content in the issue. It might also be worth to install the current beta version of SMS Backup+ to make sure the bug has not already been fixed. ### Backup questions #### Why do backed up SMS show up in my inbox? This is probably related to Gmail's automatic priority inbox filing. A workaround is to set up a filter with "subject: SMS with", let the filter mark it as not important. ![](https://img.skitch.com/20120106-tymk3rn4i5apshhr6e1hbd17qn.jpg) ![](https://img.skitch.com/20120106-rsg7912rnus5gwe3e572rxwbae.jpg) #### I want the backed up mesages to show up in my gmail inbox! Just set the label to "Inbox" instead of the default "SMS" or "Call log". #### I get the following Error during backup/restore: Command: SELECT "SMS"; response: #6# [NO, Unknown, Mailbox; SMS, [Failure]] Make sure you have the "Show IMAP" option checked in the Gmail label settings: ![Screenshot][showimap] If this is the case make sure that the label name is set correctly (capitalization matters!). #### How can I make the app think that it has to do the backup again? Select "Reset" from the menu, and confirm that you want to reset the current sync state. All messages on the phone will be backed up on the next run. #### What's the difference between regular and incoming backup schedule? Incoming backup schedule is used for incoming messages. 3 minutes here means that any incoming SMS will trigger a backup after 3 minutes. It is a full backup (including any sent messages). You should set the incoming schedule to a low value if you want to make sure that incoming SMS show up in Gmail shortly after arrival. Regular schedule is used to perform backups in specific intervals. 2 hours here means that the device will try to backup all messages every 2 hours. Fewer updates performed by the app means less energy consumed, so there's a trade-off data protection vs. battery life. #### I'd like SMS Backup+ to schedule a backup only at a given time of the day / when Wifi is available / etc. If you require more control over the backup schedule than what SMS Backup+ already provides you can use a 3rd party app to trigger the backup. [Tasker][] for example supports SMS Backup+ since version 1.0.14. #### The app saves only 100 SMS/MMS per contact! This seems to be a limitation of Gmail. After the first hundred or so SMS being backed up, Gmail will cease to properly thread many of the conversations. You will notice that Gmail will eventually treat each SMS (in that initial backup) as individual conversations and will not longer group/thread them together. A way around this is to do a full backup 100 SMS at a time (see `Advanced settings`). #### In Gmail, I'd like to have all messages listed chronologically and not ordered by who sent them. It's a Gmail feature, but you can disable it. In Gmail settings, set conversation view to `off` ([screenshot][converationviewoff]). #### When I delete a text locally, will it delete the saved copy on gmail? No. SMS Backup+ does not do a "real" sync, once the text has been transferred to Gmail it won't get modified or deleted by the app. #### My messages get backed up as calls! This might be due to some changes in Samsung's version of Android, see [#287](https://github.com/jberkel/sms-backup-plus/issues/287). #### I enabled the WhatsApp backup, but my messages don't get backed up! Make sure that you have WhatsApp backups enabled (Settings - Chat Settings, see [screenshot][whatsapp-screenshot]). In newer versions of WhatsApp this option will default to "off", so you will have to manually enable it. #### I enabled the WhatsApp backup, but group messages don't get backed up! This is a current limitation. A future version might address this issue. ### Restore questions #### How do I restore the last N weeks / N messages? If you have a lot of messages backed up (let's say over 5000) restoring can be very slow, especially if you're only interested in the most recent messages. A workaround is to use the gmail web interface (or an IMAP email client) to move the bulk of the messages to another label in gmail (e.g. SMSARCHIVED), and only keep a few hundred or so messages in the SMS label. Next time you restore it will only restore those messages and it will be a lot faster. #### The timestamps of the restored messages is wrong / the messages are not restored in the right order This is a known bug: [#94](https://github.com/jberkel/sms-backup-plus/issues/94) ### Authentication questions #### How can I revoke SMS Backup+ access Go to [Authorized Access to your Google Account][] and select "Revoke Access" next to "SMS Backup+". #### After granting access I get the message "You do do not have permission to open this page" Some browsers / handsets which ship with non-standard browsers are currently not fully supported, there appears to be a problem which breaks the authorisation process, so connecting your Gmail account via XOAuth is not possible. Some possible workarounds: * Use the stock Android browser for the authentication (you can switch back afterwards) * Install a 3rd party browser (Dolphin HD has been reported to work) * Use plain text authentication (Advanced Settings - Server Settings), use your gmail address as username and supply your password #### After granting access, the Messaging app opens. See the answer to the previous question, it's the same problem. #### When connecting, I get 'Could not obtain request token...' If you get this error message and your network connection is active double-check that your time zone settings are correct, and that the local time is displaying correctly. The authentication process won't work otherwise. ### Device specific questions #### I'm using a Motorola DROID X/2, and it does not back up incoming messages, only sent! It's a known SMS bug in the latest OTA 2.2 update ([details][droidbug]). As a workaround you can try installing [SMS Time fix][] ([apk][smstimefixzip]) and set "Adjustment Method" to "Use Phone's Time" ([screenshot1][smstimefixshot1], [screenshot2][smstimefixshot2]). ## Beta testing If you want to help beta testing, join the [community][] on Google+ and follow the "Become a beta tester" link in the "About this community box". You will be asked to opt in to the beta program (you can leave it at any time). Once opted in your device will automatically update to the latest beta which might have bug fixes and features not found in the currently released version. ## Contributing ### Installation from source $ git clone git://github.com/jberkel/sms-backup-plus.git $ cd sms-backup-plus $ mvn install $ adb install target/smsbackup-plus-1.x.y-SNAPSHOT.apk I've imported some relevant issues from the [original issue list][] to [github issues][]. ### Translating the UI If you want to help translating the UI to other languages download and translate the following file, then send the translated version via email: * [strings.xml](https://github.com/jberkel/sms-backup-plus/raw/master/res/values/strings.xml) However, if you're already familiar with Git I'd prefer if you cloned the repository and send me a [pull request](http://help.github.com/pull-requests/). ##Credits * [Christoph Studer](http://studer.tv/) Original author of SMS Backup * [Ben Dodson](http://github.com/bjdodson) - Contacts 2.0 / MMS support * [Felix Knecht](http://github.com/dicer) - Call log backup code * [Michael Scharfstein](http://github.com/smike) - Call log calendar ICS support * [k9mail](http://code.google.com/p/k9mail/) IMAP library, with some modifications ([k9mail/sms-backup-plus](http://github.com/jberkel/k9mail)) * [acra](http://code.google.com/p/acra) ACRA - Application Crash Report for Android * [signpost](http://github.com/kaeppler/signpost) Signpost OAuth library * Jeffrey F. Cole - [NumberPicker.java][] * Shimon Simon (new icon designs) * [bbs.goapk.com](http://bbs.goapk.com) / [Chen](http://blog.thisischen.com/) - Chinese translation * [skolima](http://github.com/skolima) - Polish translation * Roberto Elena Ormad - Spanish translation * Gabriele Ravanetti / [Patryk Rzucidlo](http://www.ptkdev.it/) / [Chiara De Liberato](http://www.chiaradeliberato.it/) - Italian translation * Harun Sahin - Turkish translation * [Lukas Pribyl](http://www.lukaspribyl.eu) - Czech translation * Joao Pedro Ferreira - Portugese translation * Martijn Brouns - Dutch translation * [Tobeon](http://tobeon.net) - Norwegian translation * Nemanja Bracko - Serbian translation * Markus Osanger - German translation * Dimitris / Mazin Hussein - Greek translation * Yunsu Choi - Korean translation * Javier Pico - Galician translation * Ferran Rius - Catalan translation ##Screenshots ![SMS Backup+ screenshot][smsbackupshot] ![Gmail screenshot][gmailshot] ![Gcal screenshot][gcalshot] ##License This application is released under the terms of the [Apache License, Version 2.0][]. [original issue list]: http://code.google.com/p/android-sms/issues/list [github issues]: http://github.com/jberkel/sms-backup-plus/issues [MarketQRCode]: http://chart.apis.google.com/chart?cht=qr&chs=100x100&chl=https://play.google.com/store/apps/details?id=com.zegoggles.smssync [MarketLink]: https://play.google.com/store/apps/details?id=com.zegoggles.smssync [WhatisFlattr]: http://en.wikipedia.org/wiki/Flattr [FlattrLink]: http://flattr.com/thing/45809/SMS-Backup [FlattrButton]: http://api.flattr.com/button/button-static-50x60.png [Enabling IMAP in Gmail]: http://mail.google.com/support/bin/answer.py?hl=en&answer=77695 [smsbackupshot]: https://raw.github.com/jberkel/sms-backup-plus/gh-pages/screenshots/smsbackup_holo_cropped.png [gmailshot]: https://github.com/downloads/jberkel/sms-backup-plus/sms_gmail_screenshot.png [gcalshot]: https://github.com/downloads/jberkel/sms-backup-plus/sms_gcal_screenshot.png [whatsapp-screenshot]: https://www.evernote.com/shard/s1/sh/79d6ab92-778d-4308-9025-5306bda7beaf/500b42c3484688f3b4a1d2b1894baba0 [showoriginal]: http://skitch.com/jberkel/d51wp/google-mail-sms-with-orange-jan.ber ... ...

近期下载者

相关文件


收藏者