Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
protected void myCalledFunction(Location myLoc) { // TODO Auto-generated method stub Markers usersMarker = new Markers(user,overview.this); int lat,lon; HttpEntity ser_resp; String text; /* Add my location to the list */ if (myLoc != null) { GeoPoint myPoint = new GeoPoint( (int) (myLoc.getLatitude() * 1E6), (int) (myLoc.getLongitude() * 1E6)); mc.animateTo(myPoint); OverlayItem itemMyself = new OverlayItem(myPoint,getString(R.string.myPosition),getString(R.string.myPosition)); itemMyself.setMarker(this.icon); usersMarker.addOverlay(itemMyself); } if (this.userid != -1) { Map data = new HashMap(); data.put("userid", this.userid.toString()); try { HttpResponse re = Registration.doPost("http://www.android-town.com/getCloseUsers.php",data); ser_resp = re.getEntity(); InputStream is = ser_resp.getContent(); BufferedInputStream bis = new BufferedInputStream(is); ByteArrayBuffer baf = new ByteArrayBuffer(20); int current = 0; while((current = bis.read()) != -1){ baf.append((byte)current); } /* Convert the Bytes read to a String. */ text = new String(baf.toByteArray()); /* If the web service returns nearby users... */ if (text != "") { if (text.indexOf("##")>0) { String[] users = text.split("##"); for (String user : users) { String[] userData = user.split(";"); lat = Integer.valueOf(userData[1]); lon = Integer.valueOf(userData[2]); Log.e("overview", "username: "+userData[0]+", lat: "+userData[1]+", lon: "+userData[2]); GeoPoint p = new GeoPoint( (int) (lat * 1E6), (int) (lon * 1E6)); OverlayItem item = new OverlayItem(p,userData[0],userData[3]); item.setMarker(this.user); usersMarker.addOverlay(item); } } else { String[] userData = text.split(";"); lat = Integer.valueOf(userData[1]); lon = Integer.valueOf(userData[2]); Log.e("overview", "username: "+userData[0]+", lat: "+userData[1]+", lon: "+userData[2]); GeoPoint p = new GeoPoint( (int) (lat * 1E6), (int) (lon * 1E6)); OverlayItem item = new OverlayItem(p,userData[0],userData[3]); item.setMarker(this.user); usersMarker.addOverlay(item); } } } catch (ClientProtocolException e) { e.printStackTrace(); Toast.makeText(getApplicationContext(), getString(R.string.noURLAccess), Toast.LENGTH_SHORT).show(); } catch (IOException e) { e.printStackTrace(); Toast.makeText(getApplicationContext(), getString(R.string.noURLAccess), Toast.LENGTH_SHORT).show(); } } /* Draw markers */ //mc.setZoom(16); Log.e("overlays","items: "+String.valueOf(usersMarker.size())+", overlays: "+String.valueOf(mapOverlays.size())); if (mapOverlays.size() == 0) { mapOverlays.add(usersMarker); } else { mapOverlays.clear(); mapOverlays.add(usersMarker); } karta.invalidate(); }