What are the errors that you get? I don't think you can do this. You will not have permissions since this ContentProvider is private.
Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Thu, Jan 13, 2011 at 12:48 PM, yogesh bansal <[email protected]>wrote: > Hi All, > > I am using android SDK 2.3 version. I am trying to write a calendar > application. I have tried to use the following URIs : > 1. "content://com.android.calendar/calendars" > 2. "content://calendar/calendars" > > But in both the cases cursor is returning null. > > Please share your thoughts and help in resolving the problem. > > If you can provide a sample calendar based app, it will be very > helpful for me. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

