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)
package com.example.circle5; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.view.SurfaceHolder; import android.view.SurfaceView; public class DrawingBoard extends SurfaceView implements SurfaceHolder.Callback, Runnable { private SurfaceHolder surfaceHolder = null; public DrawingBoard(Context context) { super(context); //Retrieve the SurfaceHolder instance associated with this SurfaceView. surfaceHolder = getHolder(); //Specify this class (DrawingBoard) as the class that implements the three callback methods required by SurfaceHolder.Callback. surfaceHolder.addCallback(this); } //SurfaceHolder.Callback callback method. @Override public void surfaceCreated(SurfaceHolder holder) { //Create and start a drawing thread whose Runnable object is defined by this class (DrawingBoard). new Thread(this).start(); } //Runnable callback method. @Override public void run() { //Lock the canvas before drawing. Canvas canvas = surfaceHolder.lockCanvas(); //Perform drawing operations on the canvas. render(canvas); //After drawing, unlock the canvas and display it. surfaceHolder.unlockCanvasAndPost(canvas); } private void render(Canvas canvas) { //Fill the entire canvas' bitmap with 'black'. canvas.drawColor(Color.BLACK); //Instantiate a Paint object. Paint paint = new Paint(); //Set the paint color to 'white'. paint.setColor(Color.WHITE); //Draw a white circle at position (100, 100) with a radius of 50. canvas.drawCircle(100, 100, 50, paint); } //Neither of these two methods are used in this example, however, their definitions are required because SurfaceHolder.Callback was implemented. @Override public void surfaceChanged(SurfaceHolder sh, int f, int w, int h) {} @Override public void surfaceDestroyed(SurfaceHolder sh) {} }