Sunday, February 12, 2012

Re: [android-developers] Use CalendarProvider in android API 10

There is no ContentProvider supporting the contract defined by
CalendarContract on an API Level 10 device.

On Thu, Feb 9, 2012 at 3:40 PM, cb29 <chervine.lab@gmail.com> wrote:
> Hi,
> I'm currently developing a calendar application using API 15 and the
> CalendarProvider API.
> However, I don't have the required mobile phone to test it.
>
> So, I'm trying to run it under API 10.
> I added the classes for CalendarProvider (I got them from
> http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.0.1_r1/android/provider/CalendarContract.java)
>
> Before runtime, i dont have any error in the project, but at runtime I
> get nullpointer exceptions.
>
> Am I doing something totally wrong? is it even possible?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment