@@ -0,0 +1,2013 @@
+package com.bits.medalt.app;%0A%0Aimport android.os.AsyncTask;%0Aimport android.util.Log;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0Aimport java.io.InputStreamReader;%0Aimport java.net.HttpURLConnection;%0Aimport java.net.URL;%0A%0A/**%0A * Created by ayush on 16/3/14.%0A * @author Ayush Kumar%0A */%0Apublic class PlaceDownloader extends AsyncTask%3CString,String,String%3E%7B%0A%0A    public String TAG = %22MedAlt%22;%0A%0A    @Override%0A    protected void onPreExecute() %7B%0A        super.onPreExecute();%0A    %7D%0A%0A    @Override%0A    protected String doInBackground(String... params) %7B%0A        String data = null;%0A        try %7B%0A            data = downloadPlaces(params%5B0%5D);%0A        %7D catch (Exception e) %7B%0A            Log.d(TAG,%22PlaceDownloader's doInBackground : %22 + e.toString());%0A        %7D%0A        return data;%0A    %7D%0A%0A    @Override%0A    protected void onPostExecute(String s) %7B%0A        super.onPostExecute(s);%0A    %7D%0A%0A    private String downloadPlaces(String strUrl) throws IOException%7B%0A        String data = %22%22;%0A        InputStream iStream = null;%0A        HttpURLConnection urlConnection = null;%0A        try%7B%0A            URL url = new URL(strUrl);%0A%0A            // Creating an http connection to communicate with url%0A            urlConnection = (HttpURLConnection) url.openConnection();%0A%0A            // Connecting to url%0A            urlConnection.connect();%0A%0A            // Reading data from url%0A            iStream = urlConnection.getInputStream();%0A%0A            BufferedReader br = new BufferedReader(new InputStreamReader(iStream));%0A%0A            StringBuilder sb  = new StringBuilder();%0A%0A            String line = %22%22;%0A            while( ( line = br.readLine())  != null)%7B%0A                sb.append(line);%0A            %7D%0A%0A            data = sb.toString();%0A%0A            br.close();%0A%0A        %7Dcatch(Exception e)%7B%0A            Log.d(TAG, %22Exception (downloadPlaces): %22 + e.toString());%0A        %7Dfinally%7B%0A            iStream.close();%0A            urlConnection.disconnect();%0A        %7D%0A%0A        return data;%0A    %7D%0A%7D%0A

Add PlaceDownloader class.