I'm trying to use the Google Spreadsheet API from android, but I fall
at the first hurdle, and can't even connect to the service.

I've added uses-permission android:name="android.permission.INTERNET"
to my manifest but I still get the error:
com.google.gdata.util.AuthenticationException: Error connecting with
login URI
...
Caused by: java.io.IOException: Hostname <www.google.com> was not
verified
This is just by using the following code in my app:

SpreadsheetService myService = new SpreadsheetService(
                                "mydomain.com-myapp-1");
myService.setUserCredentials("[EMAIL PROTECTED]",
                                "mypassword");

The same code runs fine from a test class outside of android.

Any ideas?  It seems to be trying to get an SSL connection for some
reason.

There's a similar thread here (http://groups.google.com/group/android-
developers/browse_thread/thread/09f65bc1e3661263/fddaf9f887ab5bb3?
#fddaf9f887ab5bb3) but the only suggested solution seems to be
modifying google's gdata code to work around the problem... but I find
it hard to believe that you'd have to do this in order to use
spreadsheets from android...

Can someone point me in the right direction?

cheers,
Ian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to