Android callog content provider can take a limit clause


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()

This entry was posted in General. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>