Comparing Sqlite Databases On Android
Solution 1:
If you have a rooted Phone then you can Watch the Details of It. but if your phone is not rooted then you are won't be able to see it.
Another thing if you have copied the Application in your Phone then it will definitely work.
So Conclusion is that If you have a Rooted Phone then you will be able to See and Compare, if possible try to compare its size or Time on which it is Installed.
Solution 2:
If you have attach a DataBase with your APK and you successfully copied to your phone that exactly means that you have your old data base copied.So i think no need to compare.If you want to compare then compare all record in Table.
Second if you want to remember that your data base is already copied then use one flag in share preferences.Save true once copied.Then check its value
Updated
To listing all Table
select name from sqlite_master where type = 'table'
If both data base have same table then compare record of these corresponding Table
Post a Comment for "Comparing Sqlite Databases On Android"