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)
private class SitesOverlay extends ItemizedOverlay { private List items=new ArrayList(); private Drawable marker=null; private Geocoder gc; private List
foundAdd; private String[][] locations = {{"home","nairobi"},{"james","Ngara"}, {"pangani","pangani"}}; public SitesOverlay(Drawable marker) { super(marker); this.marker=marker; try{ for( int i =0; i < locations.length; i++ ) { foundAdd = gc.getFromLocationName( locations[i][1]+",kenya", 5); for( int w =0; w < foundAdd.size(); w++ ) { Address address = foundAdd.get(i); lat = address.getLatitude(); lon = address.getLongitude(); latitude = (lat * 1000000); longitude = ( lon * 1000000 ); items.add(new OverlayItem(new GeoPoint( latitude.intValue() ,longitude.intValue()), locations[i][0],locations[i][1]+"\n")); } } }catch(Exception e) { Log.i("Address not found ", e.toString()); } populate(); } @Override protected OverlayItem createItem(int i) { return(items.get(i)); } //draw marker on the map @Override public void draw(Canvas canvas, MapView mapView, boolean shadow) { super.draw(canvas, mapView, shadow); boundCenterBottom(marker); } @Override protected boolean onTap(int i) { Toast.makeText(this, items.get(i).getSnippet(), Toast.LENGTH_SHORT).show(); return(true); } @Override public int size() { return(items.size()); } }