I am trying to use the following code to get the number of alarms currently set on the phone.
Uri uri = Uri.parse(\"content://com.android.deskclock/AlarmCloc
The Uri you're looking for is content://com.android.deskclock/alarms, but you can't access the app's ContentProvider because it isn't exported. You'll just throw a SecurityException.
Uri
content://com.android.deskclock/alarms
ContentProvider
SecurityException