Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Database not updated in my app but OK in simulator

I currently develop with a mysql lite database that's in my ressource folder. For a while everything's was OK. I just figured out (new TI SDK?) that the db that get's embedded in my app doesn't update for a week or so.
It's ok in the simulator, I can see all the updated records but for one strange reason this updated DB doesn't show in my test app on the iPhone.
I tried everything form erasing the app on the phone, on iTunes but I'm still with the non-updated DB. Any ideas

— asked May 20th 2010 by michel perrin
  • dadatabase
  • iphone
  • sqllite
  • update
0 Comments

3 Answers

  • Sorry I don't feel like building a full project to demonstrate this. I work on my projetct for more tha 2 months now, and did regular test on devices. It's the first time this happen. I need to debug this without building a new test app. Where's the DB going in the final build when I click on "test on device"?

    — answered May 20th 2010 by michel perrin
    permalink
    0 Comments
  • Solved it, creating a new project and replacing "ressources" folder in the new project. I needed also to erase old app from iTunes and iPhone.

    — answered May 20th 2010 by michel perrin
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.