dennischen / daily-money

a daily expense tracking android app
64 stars 53 forks source link

Add functions about 'manually backup db & pref to sd' & 'restore db & pref from sd at first time'. #1

Closed LancelotLiu closed 12 years ago

LancelotLiu commented 12 years ago

Functions added:

  1. manually backup db & pref to sd
  2. restore db & pref from sd at first time installing app
  3. cause of 2, it should restore from fixed folder. So I remove working folder setting.

Enhancement: (bellows are the same) http://code.google.com/p/daily-money/issues/detail?id=76 http://code.google.com/p/daily-money/issues/detail?id=88

新增功能:

  1. 手動備份 db 和 pref 檔到 sd card。
  2. 第一次安裝程式時,自動自 sd card 復原之前備份的檔案。
  3. 因應 2.,必須從固定目錄復原檔案,所以移除 working folder 的設定。
dennischen commented 12 years ago

Thanks Lance, I will arrange time to review and merge it.

LancelotLiu commented 12 years ago

Automatic backup db & pref at 3:00 A.M. everyday.

每天凌晨三點自動備份 db 和 pref 檔。

LancelotLiu commented 12 years ago

6d7a518..fb0303b are for automatic backup function. I'm sorry that code changes frequently.

dennischen commented 12 years ago

Lancelot, you are welcome. you don't need to say sorry, you didn't do anything wrong. It should be me to say sorry that I don't have time to merge the code.

I guess you can make another branch (in your space) and push another request if you want to add another function.