These are chat archives for gdg-hudson-valley/android-guide

25th
Feb 2015
David DeGroate
@Polymath-Z
Feb 25 2015 00:01
I'm having trouble completing Lesson 4B. After making the changes required for the "Inserts with ContentProvider" quiz, the tests start to fail. >> android.database.sqlite.SQLiteReadOnlyDatabaseException: attempt to write a readonly database (code 1032) << After hours of trying different things, I decided to pull their code from GitHub (the 4.16 branch). I was surprised to see that code failed as well, in exactly the same way. Does this code work for you at all?
Nitya Narasimhan
@nitya
Feb 25 2015 00:37
Hey David .. Will check it out tonight. They changed codebases recently so I haven't tried out updates yet but will verify this and then update you or them as appropriate
Hendrix Tavarez
@lockerfish
Feb 25 2015 14:24
@Polymath-Z they missed to close the database in some cases in WeatherProvider... Try adding db.close(); before returning.