This doesn't seem to work (setting the hostnameverifier). I get a
ClassCastException on the line:
HttpsURLConnection uc = (HttpsURLConnection)
requestUrl.openConnection();
Here's the stacktrace:
10-22 22:54:11.110: ERROR/AndroidRuntime(192): Caused by:
java.lang.ClassCastException:
I wasn't able to resolve the problem either. Hopefully we can get
some resolution to this
On Oct 10, 6:52 am, androidian [EMAIL PROTECTED] wrote:
Does anyone have a cleaner solution to this problem (i.e. apart from
modifying/hacking google's own gdata code)? It seems strange that
you'd have
Hi Stunti,
I still am receiving errors, but it is slightly different: Host is
unresolved: www.google.com:443
Any thoughts?
On Sep 9, 7:34 am, stunti [EMAIL PROTECTED] wrote:
You need to modify the code of gdata.
The certificates used by HttpURLConnection are not available to
validate the
The getRequestConnection method that was modified
http://pastebin.com/f5efc9f0d
Error:
http://pastebin.com/f6f115f2d
On Sep 11, 11:40 am, haig [EMAIL PROTECTED] wrote:
Hi Stunti,
I still am receiving errors, but it is slightly different: Host is
unresolved:www.google.com:443
Any thoughts?
You need to modify the code of gdata.
The certificates used by HttpURLConnection are not available to
validate the hostname during a SSL connexion.
A small workaround below.
around line 332 in com.google.gdata.client.http.HttpGDataRequest
You might also want to disable GZIP compression as it
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:
So any news on this topic, am i able to use google data apis (gdata)
on android?
thanx
stefan
On 25 Aug., 22:40, Justin (Google Employee) [EMAIL PROTECTED] wrote:
You didn't answer what type myService is here.
Cheers,
Justin
Android Team @ Google
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
What's the output from logcat?
Cheers,
Justin
Android Team @ Google
On Aug 22, 7:20 am, Manu [EMAIL PROTECTED] wrote:
Hi Folks,
Trying to insert even in google calendar but with no luck. Any
pointers?
String [EMAIL PROTECTED];
String pass=xyz;
myService.setUserCredentials(name,
Justing,
It appears that the code is throwing exception in line
myService.setUserCredentials(name, pass);
The catch block for AuthenticationException is showing as the
exception error message ERROR:Error connecting with login URI
{
// TODO Auto-generated catch block
Justin,
How can I print the exception to a logcat? Is it feasible?. I tried
attaching src of gdata to android project for debugging but
compilation fails and so cannot debug.
Thanks
Manoj
On Aug 23, 12:23 am, Manu [EMAIL PROTECTED] wrote:
Justing,
It appears that the code is throwing
Here is the stack trace log output for
StackTraceElement stack[]=e.getStackTrace();
for(StackTraceElement i:stack)
{
android.util.Log.v(!!!,i.getClassName()+:+i.getMethodName()
+:+i.getLineNumber());
}
I/ActivityManager( 51): Annotation: Broadcast of Intent
{
My mnifest is
?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=org.mano
uses-permission android:name=android.permission.RECEIVE_SMS /
uses-permission android:name=android.permission.INTERNET /
application
13 matches
Mail list logo