how can i access alarm content provider
<p>i'm trying to access alarm provider to get all enabled alarm information.</p>

<p>so i wrote this : </p>

<pre><code>public static final Uri CONTENT_URI =
            Uri.parse("content://com.android.deskclock/alarm");
ContentResolver cr = getContentResolver();
Cursor c = null;

c = cr.query(
                CONTENT_URI, ALARM_QUERY_COLUMNS,
                null, null, DEFAULT_SORT_ORDER);
</code></pre>

<p>but it seemed to have the permission problem??</p>

<p>it always crashed QQ......could someone help me?</p>
