I use ‘CallLogs.deleteCall(position,FolderType);’
But it can’t delete the record.
Please help me to solve this problem.
PhoneLogs _logs = PhoneLogs.getInstance();
int len = _logs.numberOfCalls(_logs.FOLDER_NORMAL_CALLS);
for (int i = 0; i < len; i++) {
_logs.deleteCall(i, _logs.FOLDER_NORMAL_CALLS);
}
This question has been answered in the Blackberry Support forms and you can get a solution there. It is a thread issue and problem in the RIM API. Please follow this thread it is suggested by RIM adviser
Deleting call logs, Waiting is the solution
and
Delete of phonelog
If you have more doubts in blackberry come here i will explain click here