Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

How to access Calendar from Xamarin forms

$
0
0

I am trying for several hours to access Calendar from Xamarin forms for Android platform. I got the following docs for Android platform http://developer.xamarin.com/guides/android/user_interface/calendar/

But I am getting compile error "An object reference is required for the non-static field, method or property ... " for the following line.

ContentResolver.Insert(CalendarContract.Events.ContentUri, eventValues);

Wondering whether it's possible to access Calendar from Xamarin Forms for Android platform


Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>