Buggy code:
public class WitListActivity extends ActionBarActivity { private static final double coneWidth = ( Math . PI ) // 6 ; private ListView poiListView ; private ArrayAdapter < WitPOI > poiListAdapter ; private ArrayList < WitPOI > poiList ; private ArrayList < WitPOI > correctPoiList ; double userLatitude ; double userLongitude ; double userOrientation ; private JSONObject jSondetail ; class WitDownloadTask extends AsyncTask < URL , Void , String > { private InputStream is ; private BufferedReader br ; private StringBuilder sb ; private String line ; public WitDownloadTask ( ) { } @ Override protected String doInBackground ( URL ... params ) { } @ Override protected void onPostExecute ( String s ) { } } private class DownloadImageTask extends AsyncTask < String , Void , Bitmap > { ImageView bmImage ; public DownloadImageTask ( ImageView bmImage ) { } protected Bitmap doInBackground ( String ... urls ) { } protected void onPostExecute ( Bitmap result ) { } } private int near ( ArrayList < WitPOI > correctPL ) { } public void printDetail ( String detail ) throws JSONException { } @ Override protected void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setContentView ( activity_wit_list ) ; Intent intent = getIntent ( ) ; poiList = intent . getParcelableArrayListExtra ( EXTRA_POI_LIST ) ; userLatitude = intent . getDoubleExtra ( EXTRA_USER_LAT , 0.0 ) ; userLongitude = intent . getDoubleExtra ( EXTRA_USER_LON , 0.0 ) ; userOrientation = intent . getDoubleExtra ( EXTRA_USER_ORIENTATION , 0.0 ) ; poiListView = ( ( ListView ) ( findViewById ( poi_list ) ) ) ; correctPoiList = new ArrayList < WitPOI > ( ) ; Toast . makeText ( this , ( ( ( "Orientation<seq2seq4repair_space>NORTH<seq2seq4repair_space>from<seq2seq4repair_space>sensor<seq2seq4repair_space>:<seq2seq4repair_space>" + ( String . valueOf ( Math . toDegrees ( userOrientation ) ) ) ) + "\nRotation<seq2seq4repair_space>from<seq2seq4repair_space>algorithm<seq2seq4repair_space>EAST<seq2seq4repair_space>:<seq2seq4repair_space>" ) + ( String . valueOf ( Math . toDegrees ( adjustAngle ( userOrientation ) ) ) ) ) , LENGTH_LONG ) . show ( ) ; for ( WitPOI poi : poiList ) { if ( geometricCheck ( userLongitude , userLatitude , poi . getPoiLon ( ) , poi . getPoiLat ( ) , userOrientation ) ) { correctPoiList . add ( poi ) ; } } poiListAdapter = new ArrayAdapter < WitPOI > ( this , layout . simple_list_item_1 , correctPoiList ) ; poiListAdapter . notifyDataSetChanged ( ) ; poiListView . setAdapter ( poiListAdapter ) ; int smallid = 0 ; if ( ( correctPoiList . size ( ) ) > 0 ) { smallid = near ( correctPoiList ) ; } URL url = null ; try { <START_BUG> url = new URL ( ( ( "http:////api.wikimapia.org//?key=example&function=place.getbyid&id=" + 55 ) + "&format=json&language=it" ) ) ; <END_BUG> } catch ( MalformedURLException e ) { e . printStackTrace ( ) ; } new WitListActivity . WitDownloadTask ( ) . execute ( url ) ; } private double adjustAngle ( double userOrientation ) { } private boolean geometricCheck ( double userX , double userY , double poiX , double poiY , double userOrientation ) { } @ Override public boolean onCreateOptionsMenu ( Menu menu ) { } @ Override public boolean onOptionsItemSelected ( MenuItem item ) { } }

Fix:
url = new URL ( ( ( "http:////api.wikimapia.org//?key=example&function=place.getbyid&id=" + smallid ) + "&format=json&language=it" ) ) ;