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 MapsActivity extends MapActivity implements MyDialogListener { private SensorManager mSensorManager; private RotateView mRotateView; public MapView mMapView; private MyLocationOverlay mMyLocationOverlay; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mRotateView = new RotateView(this,this); mMapView = new MapView(this, "API_Key"); mRotateView.addView(mMapView); setContentView(mRotateView); } private class RotateView extends ViewGroup implements SensorListener { private static final float SQ2 = 1.414213562373095f; private final SmoothCanvas mCanvas = new SmoothCanvas(); private float mHeading = 0; public RotateView(Context context, MapActivity mapAct) { super(context); } @Override protected void dispatchDraw(Canvas canvas) { Paint paint = new Paint(); paint.setARGB(200, 255, 0, 0); //canvas.save(Canvas.MATRIX_SAVE_FLAG); canvas.rotate(-mHeading, 320 * 0.5f, 430 * 0.5f); mCanvas.delegate = canvas; super.dispatchDraw(mCanvas); int i; Point screenPts_Pre = new Point(); Point screenPts_Curr = new Point(); /*Starting Point */ mMapView.getProjection().toPixels(Point[0], screenPts_Pre); RectF oval = new RectF(screenPts_Pre.x - 2, screenPts_Pre.y + 2, screenPts_Pre.x + 2,screenPts_Pre.y - 2); canvas.drawOval(oval, paint); /* index changes dynamicaly as new point is added*/ for(i= 1 ; i <= index; i++) { mMapView.getProjection().toPixels(Point[i-1], screenPts_Pre); mMapView.getProjection().toPixels(Point[i], screenPts_Curr); RectF oval_cur = new RectF(screenPts_Curr.x - 2, screenPts_Curr.y + 2, screenPts_Curr.x + 2, screenPts_Curr.y - 2); canvas.drawOval(oval_cur, paint); paint.setStrokeWidth(2); canvas.drawLine(screenPts_Pre.x, screenPts_Pre.y, screenPts_Curr.x, screenPts_Curr.y, paint); } } } }