title: Android app using Google calendar - Sync issue
body: <p>I am trying to create an android app that interfaces with the Google Calendar.<br>
  I have followed the tutorial using content providers from <a href="http://code.google.com/p/android-calendar-provider-tests/source/browse/trunk/src/com/androidbook/androidcalendar/CalendarActivity.java" rel="noreferrer">here</a>. Parts of this code are explained <a href="http://www.developer.com/ws/android/programming/Working-with-the-Android-Calendar-3850276.htm" rel="noreferrer">here</a>.  </p>
  
  <p>I am facing the below issues.  </p>
  
  <ol>
  <li><p>I created a new calendar <em>TestCalendar</em> from my online from my laptop, and marked it as <em>Selected</em>. When I query for my calendars from the app, I can see this new calendar, but it is shown as unselected (selected=0). Any suggestions on why this could be happening ?  </p></li>
  <li><p>From my app, I add an event to the calendar by<br>
  <code>getContentResolver().insert(eventsUri, event);</code><br>
  The event is reflected in the calendar on phone, but it is not reflected in the online version. To push this new event online, I have to manually Synchronize the calendar, or turn the <em>Auto Sync</em> on, which I believe is not the right way in which this should be done. Any suggestions/links which could help ?</p></li>
  </ol>