Hi,
I was looking for a good twitter lib. Twitter4J claims to be "Android
platform and Google APP Engine ready".
I liked how the  website came up with just the example code one needs
to jump right into development.
I have the twitter4j properties file on my classpath and am using the -
core and the -http-client-support libs.

But instead of working I got a NoSuchMethodException.

Looking into the source I found that the
twitter4j.internal.http.alternative.HttpClientImpl calls
-----
new Scheme("http", 80, PlainSocketFactory.getSocketFactory())
-----
in its constructor. Yet the parameter order is incorrect.
http://developer.android.com/reference/org/apache/http/conn/scheme/Scheme.html
says the order must be like so:
-----
new Scheme("http", PlainSocketFactory.getSocketFactory(), 80)
-----
I don't see how Twitter4J is working with that kind of bug.

Can anybody give me a hind of how to curretly use twitter4j on
android?

-- 
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