lixuan deng lixuan deng - 1 year ago 64
Android Question

How to judge whether the database needs to upgrade in Android?

I'm a new hand,and I want to know how to judge whether the database on app needs to update.Is it to compare the version of server with the version of database on app or anything else?Hope someone could help me.Show me the method or the specific code!Thanks!

zys zys
Answer Source

you can judge the database version in the onUpgrade

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download