Not getting phones call logs android
<p>i  am fetching phone call log details by this query</p>

<pre><code>private static final String[] PROJECTION = new String[] {CallLog.Calls._ID, CallLog.Calls.NUMBER, CallLog.Calls.CACHED_NAME, CallLog.Calls.TYPE, CallLog.Calls.DATE };

private Cursor getCallLogs() {
    ContentResolver content = getContentResolver();
    Cursor cursor = content.query(CallLog.Calls.CONTENT_URI, PROJECTION, null, null, CallLog.Calls.DEFAULT_SORT_ORDER);
    return cursor;
}
</code></pre>

<p>and by calling <code>startManagingCursor(cursor);</code> 
and populating it on my cursor adaptor and showing in list view.i am getting all the details on HTC/NEXUS S/LG but getting NULL cursor on <code>Samsung Europa Device(sdk 2.1 update 1)</code> and not able to add call logs as well on this device.Am i doing anything wrong?Is there any other type of query for samsung android phones.</p>

<p>I hae added proper permissions in manifest file.</p>

<pre><code>&lt;uses-permission android:name="android.permission.WRITE_CONTACTS" /&gt;
&lt;uses-permission android:name="android.permission.READ_CONTACTS" /&gt;
</code></pre>

<p>Thanks</p>
