質問

I have couple of question regarding to sqlite-android

  1. When is the onUpgrade method called in application?

  2. Can I have two helper class in one application? if so...

  3. then how/when I call second class

役に立ちましたか?

解決

onUpgrade is called when int DATABASE_VERSION of your DBAdapter is higher than the currenly installed one.

Why would you want 2 helper classes. But yes, I suppose you could.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top