Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use and test the Android 4.0 Calendar API in the emulator?

Do most use real phones to test Google Account specific Android features? For example, I want to develop/test the Ice Cream Sandwich calendar api and in the emulator I can add a Google Gmail account to the operating system, but the calendars never seem to sync.

Here's a related post:

How to read and edit Android calendar events using the new Android 4.0 Ice Cream Sandwich API?

My question is how do you test it? I'd like to upgrade my nexus s phones and the galaxy 10.1 tablet but I'd also like to make sure the upgrade will be safe. It would be nice if the emulator could support limited sync'ing, etc.

Thanks.

like image 703
Ralph Yozzo Avatar asked Feb 03 '23 12:02

Ralph Yozzo


2 Answers

One work around is to add you Google account as an Exchange account -- see http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=138636&topic=14299 for info.

Basically, enter your gmail address, but change the server it connects to to m.google.com and enable SSL.

like image 198
bkrodgers Avatar answered Apr 28 '23 07:04

bkrodgers


I was never able to get a Google account to work since Google blocks active sync on free accounts.

The solution for me was to signup for a free outlook.com account and use outlook.com's active sync settings as I did not have access to an Exchange account.

The steps I followed are from my blog and are as follows:

  • Sign out for free account at outlook.com
  • Select a Corporate Account
  • Enter username such as [email protected]
  • Select Manual Setup
  • Select account type of “Exchange” (This will allow us to sync with active sync)
  • Enter Server as s.outlook.com
  • Security type as SSL/TLS
  • Select next
  • Confirm settings.
like image 41
Sam Plus Plus Avatar answered Apr 28 '23 08:04

Sam Plus Plus