austgl / android-shuffle

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

Add ability to export data in SQLite or, at least, in XML or CSV #249

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

In this way we can produce a counterpart shuffle desktop.

Thanks in advance

Reinaldo de Medeiros

Original issue reported on code.google.com by bebadosa...@gmail.com on 6 Jun 2011 at 7:44

GoogleCodeExporter commented 9 years ago
Reading other issues about syncing, it appears that people do not in general 
see either Shuffle or its peer (currently Tracks) as the "master" application. 
Rather, they want a balanced sync approach.

This should not come as a surprise.

It means, however, that it wouldn't be enough to export "data". It would be 
required to export "transactions" instead (and it would be best if those 
"transactions" would be "normalized" beforehand).

What's worse is the fact that in this case, conflicts need to be resolved. In 
those good old days, Palm was the only company having this under control.

The ugly part starts when you want Shuffle to sync with at least one "dumb" 
application (where Shuffle resolves conflicts via a simnple API) as well as 
with at least one "smart" application (where the application aims at resolving 
import conflicts in an intransparent way hidden behind a similarly "dumb" api).

I'd love to know how syncing between Shuffle and Tracks works today?

Original comment by el.goog....@gmail.com on 2 May 2012 at 9:53

GoogleCodeExporter commented 9 years ago
As for me, I just need a way to backup (and restore) shuffle db without messing 
with tracks.. Just in case...

Original comment by vovkav@gmail.com on 3 May 2012 at 11:10

GoogleCodeExporter commented 9 years ago
Backup and restore is possible in "Settings". I'll check out how Shuffle 
exports the data and let you know, if I find something interesting.

Original comment by LippertsJan on 3 May 2012 at 6:20

GoogleCodeExporter commented 9 years ago
@vovkav, the functionality you request is already implemented and works fine, 
just as LippertsJan pointed out. As long as you don't want to use the data as 
an export to another tool, that is. In other words, backup to and restore from 
SD card are provided.

bebadosa clearly asked for a different feature, namely, a mechanism to sync 
Shuffle to a fully flavoured, different application.

Original comment by el.goog....@gmail.com on 3 May 2012 at 7:03

GoogleCodeExporter commented 9 years ago
In the package org.dodgybits.shuffle.android.preference.activity there are the 
classes PreferencesCreateBackupActivity and PreferencesRestoreBackupActivity. 
With the code in these two classes, their dependencies and especially 
shuffle-dto you should be able to use the existing backup-files or to create 
your own export feature. 

Original comment by LippertsJan on 5 May 2012 at 8:16