dbooga/MonsterHunter3UDatabase — pull request #3 by kamegami13 (2014-11-06 01:22:59+00:00)
Title: Add Quest Location and Fix Database Updates

* Added Quest time of day to the database
* Fixed incorrect location_id references in the quests table
* Added Location string to Quest Details
* Made the Location TextView open the Location map when clicked
* Fixed DatabaseHelper not updating to new databases
* Determined that the onUpgrade method was never called due to overriding the getReadableDatabase() and getWritableDatabase() functions
* Moved call to copyDatabase() to the constructor due to reliability issues
* Changed openDatabase to call getWriteableDatabase() so that onUpgrade() gets called then instead of waiting til a query is made
* Fixed the existing onUpgrade() function so that it will copy a temp database and copy over the wishlist tables, and then finally overwrite the existing database
* Fixed Wishlist queries.