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 LocationManager lm; public MapsActivity SystemService; MapController mc; private GeoPoint p; private double mLongitude; private double mLatitude; public GeoDataGateway(MapsActivity sservice){ this.SystemService = sservice; this.startLocationService(); } public void startLocationService(){ this.lm = (LocationManager) this.SystemService.getSystemService(Context.LOCATION_SERVICE); this.lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 1, this); } public String getCity(GeoPoint pp){ Geocoder geoc = new Geocoder(SystemService.getBaseContext(), Locale.getDefault()); List
addresses; String city = ""; try { addresses = geoc.getFromLocation(pp.getLatitudeE6()/1E6, pp.getLongitudeE6()/1E6, 1); city = addresses.get(0).getLocality(); } catch (IOException e) { e.printStackTrace(); } return city; } public void onLocationChanged(Location location) { location = this.lm.getLastKnownLocation(LocationManager.GPS_PROVIDER); try { mLongitude = location.getLongitude(); mLatitude = location.getLatitude(); Toast.makeText(this.SystemService.getBaseContext(),"Your Location:" + mLongitude + "," + mLatitude, Toast.LENGTH_SHORT).show(); } catch (NullPointerException e) { Log.i("Null pointer exception " + mLongitude + "," + mLatitude, null); } } public void onProviderDisabled(String provider) { // TODO Auto-generated method stub } public void onProviderEnabled(String provider) { // TODO Auto-generated method stub } public void onStatusChanged(String provider, int status, Bundle extras) { // TODO Auto-generated method stub }