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 de.flippertest; import android.app.Activity; import android.graphics.*; import android.graphics.drawable.*; import android.os.Bundle; import android.widget.*; import android.widget.LinearLayout.LayoutParams; import android.widget.ZoomControls; import android.graphics.*; import android.graphics.drawable.*; import android.view.*; import android.view.GestureDetector.OnGestureListener; import android.content.res.*; import android.content.*; public class FlipperTest extends Activity { private AbsoluteLayout main; private MyImageView imgView; private Bitmap image; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getBmp(); makeGUI(); } private void makeGUI() { main = new AbsoluteLayout(this); main.setLayoutParams(new LinearLayout.LayoutParams(320,480)); main.setBackgroundColor(Color.WHITE); imgView = new MyImageView(this); imgView.setLayoutParams(new AbsoluteLayout.LayoutParams(80,80,50,50)); imgView.setImageBitmap(image); main.addView(imgView); setContentView(main); } private void getBmp() { Resources res = this.getResources(); image = BitmapFactory.decodeResource(res, R.drawable.pic); } class MyImageView extends ImageView implements OnGestureListener { public static final int SMALL = 0; public static final int LARGE = 1; private int size = SMALL; private GestureDetector gesture; private int smallX = 80; private int smallY = 80; private int largeX = 140; private int largeY = 140; public MyImageView(Context context) { super(context); gesture = new GestureDetector(this); } @Override public boolean onTouchEvent(MotionEvent me) { gesture.onTouchEvent(me); return true; } @Override public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { return true; } @Override public boolean onDown(MotionEvent e) { return true; } @Override public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { return true; } @Override public void onLongPress(MotionEvent e) { } @Override public void onShowPress(MotionEvent e) { } @Override public boolean onSingleTapUp(MotionEvent e) { if(size == SMALL) { imgView.setLayoutParams(new AbsoluteLayout.LayoutParams(largeX,largeY,50,50)); main.invalidate(); size = LARGE; } else if(size == LARGE) { imgView.setLayoutParams(new AbsoluteLayout.LayoutParams(smallX,smallY,50,50)); main.invalidate(); size = SMALL; } return true; } } }