Hi,

Simply create a hash of each table row then compare the hash values between 
the two phones, if the hash is different or missing one or both of the two 
rows needs updating. Insert or delete missing rows is easy - maybe, but 
trouble is which row(s) / column(s) to update (?) maybe you can work this 
out based on consistent timestamps between the two phones. Otherwise you 
could work this out by having audit tables that log changes for each row & 
column of your real tables. Exchanging the data is the easy part either by 
bluetooth or wifi as suggested.

Regards

On Wednesday, August 22, 2012 8:01:56 AM UTC+10, TreKing wrote:
>
> On Tue, Aug 21, 2012 at 9:12 AM, Arijit Das <das.ar...@gmail.com<javascript:>
> > wrote:
>
>> Yes, the question is how to do the sync between two android phones?
>
>
> That's a loaded question. What specifically do you need help with?
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago 
> transit tracking app for Android-powered devices
>
>

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

Reply via email to