Added code from Udacity tutorial into the WeatherContract for Content Provider functionality. WeatherEntry now contains functions to build URIs for querying.
Wrote function in LocationEntry to build the location URI.
Created WeatherProvider class.
Added URIs as comments to the WeatherProvider class.
Built a method to generate a UriMatcher to use in the class when it initializes.
Updated AndroidManifest to define the Content Provider, modified WeatherProvider's GetType to match the URI, and created a new test (TestProvider) to test the Content Provider. WeatherProvider's getType() is not finished; it needs to return the proper MIME types for the remaining URI types.
Updated WeatherProvider's getType to return the proper MIME types for location entries.
Added code from Udacity tutorial into the WeatherContract for Content Provider functionality. WeatherEntry now contains functions to build URIs for querying.
Wrote function in LocationEntry to build the location URI.
Created WeatherProvider class.
Added URIs as comments to the WeatherProvider class.
Built a method to generate a UriMatcher to use in the class when it initializes.
Updated AndroidManifest to define the Content Provider, modified WeatherProvider's GetType to match the URI, and created a new test (TestProvider) to test the Content Provider. WeatherProvider's getType() is not finished; it needs to return the proper MIME types for the remaining URI types.
Updated WeatherProvider's getType to return the proper MIME types for location entries.
Updated WeatherProvider's query() method and renamed testInsertReadDb() to testInsertReadProvider() in TestProvider. More of the functionality was changed in testInsertReadProvider().
Modified WeatherProvider to query for locations and TestProvider to test the queries.
WeatherProvider now has a Join query to Join the weather and location data together.
Added constants to TestDB, added some safety code to TestProvider when it is validating the cursor, and fixed a null case in WeatherProvider.
Coded WeatherProvider's query() to query with location and date, and wrote tests for it in TestProvider.
Updated WeatherProvider to enable inserting via the Content Provider and created a test for it in TestProvider.