title: Android - Blogger (Best method of authentication - ClientLogin, etc)
body: <p>I have been directed here by someone from the Google Blogger Developer group.  My question is basically, what is the best way to authenticate with the Blogger service within Android.</p>
  
  <p>Initially I used HTTPURLConnect in Java and sent requests and received responses, this worked fine when the correct username and password were provided, however, when an incorrect password was supplied rather than being given the response <code>Error=BadAuthentication</code>, Java threw a <code>FileNotFoundException</code> for https:// www.google.com/accounts/ClientLogin.  My plan obviously being to parse the response given by Google (according to this list: <a href="http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html#Response" rel="nofollow">http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html#Response</a>)</p>
  
  <p>The second attempt I have used this library:</p>
  
  <p><a href="http://code.google.com/p/google-api-java-client/" rel="nofollow">http://code.google.com/p/google-api-java-client/</a></p>
  
  <p>However, here I get the following error (regardless of credentials):</p>
  
  <pre><code>02-11 16:57:46.515: INFO/dalvikvm(294): Could not find method 
  org.codehaus.jackson.JsonParser.getCurrentToken, referenced from 
  method 
  com.google.api.client.googleapis.json.JsonCParser.parserForResponse 
  </code></pre>
  
  <p>If anyone could provide any insight at all into these errors OR a better way to implement an application where user on Android can login and then read/view/create/edit blog posts on Blogger using the GData API, I'd be hugely grateful.</p>
  
  <p>Thanks,</p>
  
  <p>Tim.</p>