Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Jason Roe
Jason Roe
1,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.

1 Answer

Ben Jakuben
STAFF
Ben Jakuben
Treehouse 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