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)
import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.view.MotionEvent; import android.view.View; public class MyView extends View { int x; int y; boolean[][] matrix = new boolean[16][4]; public MyView(Context context) { super(context); setFocusable(true); this.setOnTouchListener(new OnTouchListener() { public boolean onTouch(View view, MotionEvent event) { x = (int) event.getX(); y = (int) event.getY(); invalidate(); return true; } }); } protected void onDraw(Canvas canvas) { Paint p = new Paint(); p.setColor(Color.GREEN); int xPos = Math.round(x / 60); int yPos = Math.round(y / 60); try { if (matrix[xPos][yPos] == false) { matrix[xPos][yPos] = true; } else { matrix[xPos][yPos] = false; } for (int Py = 0; Py < 4; Py++) { for (int Px = 0; Px < 15; Px++) if (matrix[Px][Py] == true) { Rect mRect = new Rect(60*Px, 60*Py, 60*Px+60, 60*Py+60); canvas.drawRect(mRect, p); } } } catch (ArrayIndexOutOfBoundsException e) {} } }