I know, i'm already using it. The code remains the same for everyone though
:) What i'll probably do is to simply create a new db and in case it's not a
new user i'll populate it exhaustively from the old db and then later delete
the old db, while trying to keep my sanity in the process :)

On Tue, Aug 3, 2010 at 1:40 PM, Kostya Vasilyev <[email protected]> wrote:

> 03.08.2010 14:32, Teo пишет:
>
>  If i were to treat all users alike i'd have to write some kind of
>> transition from the old db structure to the new one in the app, and tying
>> all the loose ends would be a pain
>>
>
> Android supports database versioning.
>
>
> http://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html
>
> See onUpgrade
>
> --
> Kostya Vasilev -- WiFi Manager + pretty widget --
> http://kmansoft.wordpress.com
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
*Teo*
Site <http://teodorfilimon.com> | Blog <http://teodorfilimon.blogspot.com/> |
Facebook <http://www.facebook.com/teominator> |
Twitter<http://twitter.com/teominator>
Romania, Europe (GMT +2)

-- 
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