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)
public class map extends MapActivity { private MapView myMap; MapView gMapView = null; private MyLocationOverlay myLocOverlay; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Drawable drawable = this.getResources().getDrawable(R.drawable.icon); String coordinates[] = {"51.150", "-2.592"}; double lat = Double.parseDouble(coordinates[0]); double lng = Double.parseDouble(coordinates[1]); GeoPoint p = new GeoPoint( (int) (lat * 1E6), (int) (lng * 1E6)); MapView map = (MapView) findViewById(R.id.mapView); MapController mc = map.getController(); mc.animateTo(p); mc.setZoom(14); map.setBuiltInZoomControls(true); List overlays = map.getOverlays(); overlays.add(new MyOverlay(this,p, R.drawable.icon)); map.invalidate(); } @Override protected boolean isRouteDisplayed() { // TODO Auto-generated method stub return false; } private void Menu (MenuItem MyLocation ){ MyLocation = (MenuItem)findViewById(R.id.menu_ok); OnMenuItemClickListener menuItemClickListener = null; MyLocation.setOnMenuItemClickListener(menuItemClickListener) ; } public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.menu_ok: Intent intent = new Intent(map.this, userLocation.class); startActivity(intent); Toast.makeText(this, "You pressed the icon!", Toast.LENGTH_LONG).show(); break; } return true; } @Override public boolean onCreateOptionsMenu(Menu menu) { // TODO Auto-generated method stub MenuInflater myMenuInflater = getMenuInflater(); myMenuInflater.inflate(R.layout.menu, menu); return true; } }