0

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.

MR22
  • 125
  • 1
  • 2
  • 9
  • 1
    you could simply extract all .java files from the jar and put them into your project src folder. No library / jar at all then – zapl Apr 14 '12 at 23:19
  • Zapl: want to leave your comment as an answer so Marat can accept it as a solution? – akdotcom Apr 16 '12 at 17:03

0 Answers0