title: How to develop an application for Android which uses Google Calendar API
body: <p>I just started doing some Android app development, and I decided I'm going to write an app to work with <a href="http://en.wikipedia.org/wiki/Google_Calendar" rel="nofollow">Google Calendar</a>.</p>
  
  <p>The first problem that came to me is that I can't add any Gmail account on the emulator. When I go to <em>settings</em> -> <em>accounts</em>, I can only add an Exchange account.</p>
  
  <p>This raises a question how should I develop such application. I know that I should mock the API while I'm running tests, but how am I supposed to run the app on the emulator?</p>
  
  <p>Should I just test it on mocked API with <a href="http://en.wikipedia.org/wiki/JUnit" rel="nofollow">JUnit</a> and then run it on <em>production</em> phone?</p>