Ignoring SQLite, I would never expect to be able to go back to an older
version of *anything* and have it read the same data files created by a
newer version.

If your application were writing its own data files, do you think it would
robustly be able to read ones written by a newer application in an older
version of it?

In terms of SQLite specifically, I also wouldn't consider this a document
storage mechanism.  It is a database, and good for that kind of stuff, but
if you have data you want to transport across different devices I really
think it should be in a robustly designed document format.

On Wed, Aug 3, 2011 at 6:08 AM, Zsolt Vasvari <[email protected]> wrote:

> Well, that's a absolutely not true.  I have had at least 10 users with
> this problem. One guy actually wrote to me today who tried going back
> to Froyo from Gingerbread and couldn't open his database.   I also
> created a database in a cyogenmod emulator session and the database
> shows up as "corrupt " when trying to open it from a normal Android
> command line SQLite session.  It's easy enough for you to try if you
> don't believe me.
>
> On Aug 3, 7:01 pm, Mark Murphy <[email protected]> wrote:
> > On Wed, Aug 3, 2011 at 6:53 AM, Mark Murphy <[email protected]>
> wrote:
> > > On Wed, Aug 3, 2011 at 2:53 AM, Zsolt Vasvari <[email protected]>
> wrote:
> > >> For example, if the user moves to a phone with an older version of
> > >> Android, I can support that older version of the platform just fine,
> > >> but the user is Sh*t-out-of-Luck trying to move their database over
> > >> and they cannot open their newer SQLite database on an older version
> > >> of SQLite.
> >
> > > Got any examples? AFAIK, the SQLite file format has not changed in some
> years.
> >
> > http://www.sqlite.org/formatchng.html
> >
> > According to the SQLite folks, there hasn't been an on-disk file
> > format change since 2006.
> >
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com|
> http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
> >
> > Android Training in NYC:http://marakana.com/training/android/
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to