Foursquare API for Android (Java) is not working properly on Ice Cream Sandwich, since HttpURLConnection class has been changed.
The solution is to remove setDoOutput calls from the DefaultIOHandler class, which I did, but I have another problem now. The problem is how to make a (workable) jar file. I made it like that: I converted foursquare-api-1.0.0.-sources folder into a zip file and then renamed its extension into jar. Thats how I actually got a jar file, but it isn't working! When I put it into my Android project and build path, Android somehow doesn't "register" it and I cannot import Foursquare classes that I need...
Some advices on how to do that properly would be very helpful. Even more if somebody can provide a fixed Foursquare API.