Changes

Understanding Android Content Providers

30 bytes added, 20:03, 1 July 2013
The Content URI
When implementing the insert, query, update and delete methods in the content provider, it will be the responsibility of these methods to identify whether the incoming URI is targeting a specific row in a table, or references multiple rows and act accordingly. This can potentially be a complex task given that a URI can extend to multiple levels. This process can, however, be eased significantly by making use of the UriMatcher class as will be outlined in the next chapter.
 
<google>BUY_ANDROID</google>
== The Content Resolver ==