通过使用此代码,我获得了所有场地详细信息,在这里我想要特定类型的场地让我们说“酒店”,“餐厅”如何在以下代码中指定。
DefaultHttpClient httpclient = new DefaultHttpClient();
final HttpParams httpParams = httpclient.getParams();
HttpConnectionParams.setConnectionTimeout(httpParams, 30000);
HttpConnectionParams.setSoTimeout(httpParams, 30000);
HttpGet httppost = new HttpGet(
"https://api.foursquare.com/v2/venues/search?intent=checkin&ll="
+ lat + "," + longi + "&client_id=" + client_id
+ "&client_secret=" + client_secret + "&v="
+ 20131008); //