[android-developers] Re: Adding, Editing, Deleting entries in Androids call log

2009-12-17 Thread Kumar Bibek
That's new for me. Thanks for sharing your findings. Regards, Kumar Bibek http://tech-droid.blogspot.com On Dec 17, 2:14 pm, Donal Rafferty draf...@gmail.com wrote: For anyone that comes across this it is possible to do using the call log content provider, you simply use the read and write

[android-developers] Re: Adding, Editing, Deleting entries in Androids call log

2009-12-16 Thread Kumar Bibek
Hi Donal, This is as good as hacking. I guess, adding a new call log should not be possible. However, deleting them should be possible by using the Content Provider. You need to re-read the documentations, or may be look at the source codes. Kumar Bibek http://tech-droid.blogspot.com On Dec

Re: [android-developers] Re: Adding, Editing, Deleting entries in Androids call log

2009-12-16 Thread Donal Rafferty
Hi Kumar, The idea is to show calls made over wi fi or 3G from another application in the Call Log as if they were made over GSM. You reckon looking at the source will be the only way? Thanks, Donal On Wed, Dec 16, 2009 at 10:33 AM, Kumar Bibek coomar@gmail.com wrote: Hi Donal, This

Re: [android-developers] Re: Adding, Editing, Deleting entries in Androids call log

2009-12-16 Thread Donal Rafferty
I have come across this in the source ublic static Uri addCall(CallerInfo ci, Context context, String number, int presentation, int callType, long start, int duration) { final ContentResolver resolver = context.getContentResolver(); // If this is a

[android-developers] Re: Adding, Editing, Deleting entries in Androids call log

2009-12-15 Thread Donal Rafferty
Here is the code I have import android.app.Activity; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.CallLog; import