Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Jason Roe1,257 Points
Automatically Add Calendar Events
I own a music lessons company and we have about 15 teachers that work with us and I want to make an app that helps teachers and students manage their lessons. One feature that I can't quite figure out yet is how to automatically add events to Google calendar. Can anyone help with that? I saw a similar question on here. https://teamtreehouse.com/forum/need-help-with-an-android-project But I don't think I'm advanced enough with Android to understand what it means.
Ben JakubenTreehouse Teacher
Your best bet to get started is to do it via Intents. Check out this simple tutorial and see if it helps with what you want to do: http://www.vogella.com/tutorials/AndroidCalendar/article.html
If you want to do more in the app itself, you'll need to access the Calendar Provider, which is a bit more complex: http://developer.android.com/guide/topics/providers/calendar-provider.html