You just need to increment the database version number. Install the new apk over the older version. It will be called just once.
On Sun, Oct 17, 2010 at 10:02 PM, jlopeznava...@gmail.com < jlopeznava...@gmail.com> wrote: > Hi, how can I emulate an onUpgrade call for my SQLiteOpenHelper class? > I have tried changing the version number in my SQLiteOpenHelper class > and versionCode in manifest but onUpgrade is not called. > Any idea? I need to check my onUpgrade code before upload it to the > market, I don't want my app's users get a buggy upgrade. > > Thanks in advance. > > -- > 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<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- 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