Android - Foursquare venues search error: java.io.FileNotFoundException

view story

http://stackoverflow.com – I'm trying to use Foursquare's search venue in my Android application. My URL must be correct, it works OK in a browser, but in my Android app I get an IOException: java.io.FileNotFoundException. I guess something is wrong with my HTTP request, but i can'r figure out what. Can you please help me with that? new Thread() { @Override public void run() { Looper.prepare(); try { URL url = new URL( FSQR_URL + "venues/search?ll=" + Float.toString(latitude) + "," + Float.toString(longitude) + "&client_id=" + FSQ (HowTos)