My app has functionality to add events to the calendar but in order to achieve this Android's calendar app needs to have calendars. In order to add calendars you have to add a Google account. So I added a Google account in the emulator. It shows up as sync is off:
, so when I click on it there are no items there under data synchronization.
When I go into the calendar app - Settings and click on the email address shown it says the account isn't being synced.
When I click on the accounts and sync button I am back to square one, in an endless loop.
Note using the email application in the emulator the sync is fine.
Is there some undocumented step I am missing, or have Google turned off this feature recently for Google Calendars. Or do you need a Google Plus account to use this feature as they bug you in the account creation screen to use Google plus.
I am using Android 4.03 with Google APIs. I have also tried this on 4.2, and I am having the same issues.
Here is a logcat from when opening the settings menu all the way to clicking on the account name http://pastebin.com/9Fk8NA0i
If you're not connected, make sure that data or Wi-Fi is on, and that you're not in Airplane mode. Next, check your device's app store to make sure the Google Calendar app is up to date. To the left of the calendar's name, make sure the box is checked.
This can be found in the upper-right corner of the Calendar screen. Tap your newly-added Google account. It will be listed along with any other Google accounts connected to your Android device. Check the box for each calendar you want to sync.
I know this is older, but I did find a solution. Sergery is correct that you cannot use Google Sync with a free google account, therefore you cannot use a free Google account to sync the calendar.
The solution for me was to signup for a free outlook.com account and use outlook.com's active sync settings.
The steps I followed are from my blog and are as follows:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With