One's and Zero's

Technology at its best and its worst

Android callog content provider can take a limit clause

September 18th, 2010 by Nate

Despite what you may read some android content providers (including the Call Log) can accept a sql LIMIT. Before passing the URI to managedQuery() first do:
Contacts.People.CONTENT_URI.buildUpon().appendQueryParameter("limit", "150").build()

Posted in General | No Comments »