file not found exception
<p>i am working in android. i want to integrate foursquare with my application. </p>

<p>for functioning of check in at a place. i am using this following code:-</p>

<pre><code>    URL url = new URL("https://api.foursquare.com/v2/checkins/add/");

                URLConnection conn = url.openConnection();
                conn.setDoOutput(true);
                OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
                wr.write(data);
                wr.flush();

                BufferedReader rd = new BufferedReader(new 

InputStreamReader(conn.getInputStream()));
                String line;
                while ((line = rd.readLine()) != null) {

            }
</code></pre>

<p>but this is generating file not found exception. please help me what mistake i have done.</p>

<p>thank you in advance.</p>
