I am having similar problems, hope someone can help.
In my example, "myService" is a GoogleService
GoogleService myService = new GoogleService("blogger", "exampleCo-
exampleApp-1");
Standalone client works fine, but not in my android app.
Error from logcat:
com.google.gdata.util.AuthenticationException: Error connecting with
login URI
at
com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(Unknown
Source)
at
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(Unknown
Source)
at
com.google.gdata.client.GoogleService.setUserCredentials(Unknown
Source)
at
com.google.gdata.client.GoogleService.setUserCredentials(Unknown
Source)
at com.travelrecorder.network.Blogger.publish_post(Blogger.java:
32)
at com.travelrecorder.network.AlarmService_Service
$1.run(AlarmService_Service.java:71)
at java.lang.Thread.run(Thread.java:914)
Caused by: java.io.IOException: Hostname <www.google.com> was not
verified
at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.getSecureSocket(HttpConnection.java:
169)
at
org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnection
$HttpsEngine.connect(HttpsURLConnection.java:398)
at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:
1129)
at
org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnection.getOutputStream(HttpsURLConnection.java:
262)
at
com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest(Unknown
Source)
... 7 more
On Aug 25, 1:40 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> You didn't answer what type "myService" is here.
>
> Cheers,
> Justin
> Android Team @ Google
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---