title: IllegalStateException: Call CookieSyncManager::createInstance() or create a webview before using this class
body: <p>I'm getting <strong>ISE</strong> when I call <code>CookieManager.getInstance().getCookie(url)</code></p>
  
  <pre><code>I/dalvikvm( 1022): java.lang.IllegalStateException: Call CookieSyncManager::createInstance() or create a webview before using this class
  I/dalvikvm( 1022):     at android.webkit.JniUtil.checkInitialized(JniUtil.java:45)
  I/dalvikvm( 1022):     at android.webkit.JniUtil.getDatabaseDirectory(JniUtil.java:66)
  I/dalvikvm( 1022):     at android.webkit.CookieManager.nativeGetCookie(Native Method)
  I/dalvikvm( 1022):     at android.webkit.CookieManager.getCookie(CookieManager.java:496)
  I/dalvikvm( 1022):     at android.webkit.CookieManager.getCookie(CookieManager.java:460)
  </code></pre>
  
  <p>Could anyone please point me out why it happens and how to resolve it?</p>
  
  <p>Thanks a lot in advance!</p>