Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - How delete a particular call log from call log list

How delete a particular call log from call log list

Put your problem here if it does not fit any of the other categories.

How delete a particular call log from call log list

Postby Gulfam Hassan » Thu Mar 12, 2009 8:36 am

Hi,

I have deleted whole call log by the following statement
context.getContentResolver().delete(CallLog.Calls.CONTENT_URI,null,null);

but i am facing problem to delete particular call log from call log list by the following code any one can help me.
if any one have successfully delete particular call log please change in my following code i want to delete that numbers form call log that starts with + or 00. its very urgent me.

Uri delUri = Uri.withAppendedPath(CallLog.Calls.CONTENT_URI,"");
Cursor cursor = context.getContentResolver().query(delUri,null,null,null,null);

context.getContentResolver().delete(delUri,"_id="+cursor.getCount(),null);

Thanks & Regards,
Gulfam
Gulfam Hassan
Freshman
Freshman
 
Posts: 4
Joined: Wed Feb 18, 2009 1:24 pm
Location: Pakistan

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 13 guests