To test database onUpgrade() scenario,
I've copied original project(x) to new project keeping all structure same (package id) to develop newer version which has some table addition/modification. To test upgrade scenario, I've older application(prj x, 1.0) installed and installing newer version apk(prj y, 2.0) to upgrade database but that "onUpgrade()" not called.
It is only called when apk is built from same project (prj x), no matter other project (prj y) has same package id(structure). like following
Is there any project specific properties to change ?
Thanking you,
vikas
I've copied original project(x) to new project keeping all structure same (package id) to develop newer version which has some table addition/modification. To test upgrade scenario, I've older application(prj x, 1.0) installed and installing newer version apk(prj y, 2.0) to upgrade database but that "onUpgrade()" not called.
It is only called when apk is built from same project (prj x), no matter other project (prj y) has same package id(structure). like following
(Project x)---> (Project y, copy of project x, db change/increment)
v 1.0 (Installed) ---> v 2.0 (Not getting onUpgrade() call )
Is there any project specific properties to change ?
Thanking you,
vikas