On Tue, Feb 22, 2011 at 3:42 PM, lou <[email protected]> wrote:
> Hello!
> I have to develop an Android application that will have to synchronize
> on a regular basis on a distant database, and work offline most of the
> time.
> Consequently, I need to have the same SQLite database schema in the
> application as master database.
> The server is developped in Rails ( using ActiveRecord ), and have a
> lot of "has_one", "has_many", "belongs_to", "has_and_belongs_to_many"
> relations.

All of the above relations can be expressed using SQLite, so you
should be ok there.

Providing your schema does not change, you will have to write DTO/DAO
objects yourself and that's it.

How do you envisage syncing of the mobile app with the server? What
happens to unique IDs created on the devices but then uploaded to the
server?

Daniel

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