How to use CalendarContract class in API Level 8
<p>After the launch of android 4, <code>CalendarContract</code> class is introduce to write event in device calendar. But if i have created my app using API level 8 and Now i want to use this <code>CalendarContract</code> class in my project done using API level 8, because in API level 8 i have use undocumented API to write event in device calendar and this code doen't work for android 4. So is it possible to use <code>CalendarContract</code> class in my project without changing the sdk version in manifest file, because if i change the sdk version to 14 then it allow me to use <code>CalendarContract</code> class and by which i can solve the issue for android 4. But on doing so my app not started running in api 8 -13, and which i dont want to do because my app is live on market. So is there any possible way to solve this problem. Please explain me with an example </p>
