How to export the events in a calendar in android phone to vcs file using code. Or is there any other format that I can export all events in calendar?
How can I do this in android?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no documented internal calendar API on Android. You’ll need to use Google Calendar API.
There is an unofficial, unsupported, not-recommended and non-future-proof way of accessing Calendar app internal database: http://www.developer.com/article.php/3850276
VCS files are in vCalendar format, which is old format. The replacement is iCalendar. This is a simple, one property-per-line format, which is simple to implement.