You're probably looking to query CallLog.CONTENT_URI, and then reading the various CallLog.Calls columns that are returned:
http://d.android.com/reference/android/provider/CallLog.html j On Thu, May 14, 2009 at 3:20 AM, tom <[email protected]> wrote: > > Someone ?? > > On May 12, 7:16 pm, tom <[email protected]> wrote: >> HI I am using the getContentResolverquery function : >> >> public final Cursor query (Uri uri, String[] projection, String >> selection, String[] selectionArgs, String sortOrder) >> Query the given URI, returning a Cursor over the result set. >> >> Parameters >> uri The URI, using the content:// scheme, for the content to >> retrieve. >> projection A list of which columns to return. Passing null will >> return all columns, which is discouraged to prevent reading data from >> storage that isn't going to be used. >> selection A filter declaring which rows to return, formatted as an >> SQL WHERE clause (excluding the WHERE itself). Passing null will >> return all rows for the given URI. >> selectionArgs You may include ?s in selection, which will be replaced >> by the values from selectionArgs, in the order that they appear in the >> selection. The values will be bound as Strings. >> sortOrder How to order the rows, formatted as an SQL ORDER BY clause >> (excluding the ORDER BY itself). Passing null will use the default >> sort order, which may be unordered. >> >> What is the filter that need to be used to try and get the Incomming >> +Outgoing calls together in one query ? >> >> Thanks... >> Tom > > > -- Jeff Sharkey [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

