Try cursor.deleteRow() on the cursor you got from query.
On Wed, Feb 18, 2009 at 7:09 PM, shahzad ahmad <[email protected]>wrote: > Hi, > > I can easily delete the whole call log with following code > > > > getContentResolver().delete(CallLog.Calls.CONTENT_URI,null,null); > > > > I can query a particular call log with following code > > delUri = Uri.withAppendedPath(CallLog.Calls.CONTENT_URI, "2"); > > Cursor cursor = > getContentResolver().query(delUri,null,null,null,null); > > But i always get unsupported function error when i try to delete a single > call log > > getContentResolver().delete(delUri,null,null); > > > Please guide me how to resolve this issue . > > thanks, > shahzad > > > > -- G . chandra mouli --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

