How to use CalendarContract class in API Level 8

后端 未结 3 1921
旧时难觅i
旧时难觅i 2020-12-19 13:47

After the launch of android 4, CalendarContract class is introduce to write event in device calendar. But if i have created my app using API level 8 and Now i w

3条回答
  •  太阳男子
    2020-12-19 14:17

    Find a way to find the api level programmatically... if you can then probably you can use appropriate code for diff Api levels... this may help Programmatically obtain the Android API level of a device?

提交回复
热议问题