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 Main extends Activity implements OnTouchListener { float x1 = 0; float y1 = 0; float x2 = 0; float y2 = 0; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); LinearLayout layout = (LinearLayout)this.findViewById(R.id.layout_id); layout.setOnTouchListener((OnTouchListener)this); layout.addView(new Drawer(this)); } @Override public boolean onTouch(View v, MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_DOWN: x1 = event.getX(); y1 = event.getY(); return true; case MotionEvent.ACTION_MOVE: x2 = event.getX(); y2 = event.getY(); v.invalidate(); return true; case MotionEvent.ACTION_UP: x2 = event.getX(); y2 = event.getY(); v.invalidate(); return true; } return false; } public class Drawer extends View { public Drawer(Context context) { super(context); } protected void onDraw(Canvas canvas) { Paint p = new Paint(); p.setColor(Color.parseColor("#7CFC00")); canvas.drawLine(x1, y1, x2 , y2, p); invalidate(); } } }