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 GameView extends View { ArrayList blueballs = new ArrayList(); ArrayList redballs = new ArrayList(); private Balls blueBalls; private final Box box; private Balls redBalls; private final StatusMessage statusMessage; public GameView(Context context) { super(context); int numOfBalls1 = 1; int numOfBalls2 = 4; box = new Box(0xff00003f); for (int b = 0; b < numOfBalls1; b++) { blueBalls = new Balls(Color.BLUE); blueballs.add(blueBalls); } for (int b = 0; b < numOfBalls2; b++) { redBalls = new Balls(Color.RED); redballs.add(redBalls); } statusMessage = new StatusMessage(Color.CYAN); // enable touch mode this.setFocusableInTouchMode(true); // could also add keyboard mode here for future needs. this.setFocusable(true); this.requestFocus(); } @Override // on first create or screen size change public void onSizeChanged(int w, int h, int oldW, int oldH) { box.set(0, 0, w, h); } // called after invalidate @Override protected void onDraw(Canvas c) { box.draw(c); for (int i = 0; i < blueballs.size(); i++) { Balls newBall = blueballs.get(i); newBall.draw(c); blueballs.get(i).moveAndCollide(box); c.restore(); } for (int i = 0; i < redballs.size(); i++) { Balls newBall = redballs.get(i); newBall.draw(c); redballs.get(i).moveAndCollide(box); c.restore(); } statusMessage.draw(c); statusMessage.update(blueBalls); // our delay try { Thread.sleep(30); } catch (InterruptedException e) { } // force a redraw invalidate(); } }