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

2012-02-12 Thread Mark Murphy
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@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+unsubscr...@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Use CalendarProvider in android API 10

2012-02-11 Thread cb29
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en