The reason you are only receiving one hit for that code is that it would appear that foursquare is expecting the latitude and longitude to be expressed as negative for positions west and south (of the prime meridian and equator respectively) and positive for positions east and north.
If you change the coordinate string you are passing to "32.8400, -117.2769"
then you should get lots of venues returned near La Jolla, CA. (Whisknladle is listed as being in China although this is a problem with the data for that venue).
If you change to the coordinates you have commented out for Manhattan you have the same problem which is that the longitude coordinate needs to be negative i.e. "40.7903, -73.9597"
. You get lots of odd results for the coordinates you have there which returns venues that are named as though they are in Manhattan but have their country listed as Kyrgyzstan (which is where "40.7903, 73.9597"
is. I guess this is again a problem with their data.
Also there are two other things to note:
I had two remove the final two nulls from the line
Result<VenuesSearchResult> result = foursquareApi.venuesSearch(ll, null, null, null, null, null, null, null, null, null, null, null, null);
but I'm not sure if that is due to my using a different version of the foursquare-api-java library
You should edit out your secret key from the code you posted :)