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.hello; import android.content.Context; import android.view.MotionEvent; import android.opengl.GLSurfaceView; import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.opengles.GL10; import javax.microedition.khronos.opengles.GL11; public class ClearGLSurfaceView extends GLSurfaceView{ public ClearGLSurfaceView(Context context) { super(context); mRenderer = new GameRenderer(context, getWidth(), getHeight()); setRenderer(mRenderer); } public boolean onTouchEvent(final MotionEvent event){ queueEvent(new Runnable(){ public void run(){ mRenderer.mObjectList[0].move(event.getX(), getHeight()-event.getY()); mRenderer.mObjectList[1].move(event.getX(), getHeight()-event.getY()); } }); return true; } GameRenderer mRenderer; } class GameRenderer implements GLSurfaceView.Renderer{ public GameRenderer(Context context, int width, int height){ mContext = context; mWidth = width; mHeight = height; } public void onDrawFrame(GL10 gl) { gl.glClearColor(mRed, mGreen, mBlue, 0.0f); gl.glLoadIdentity(); gl.glClear(GL10.GL_COLOR_BUFFER_BIT); for (DrawableObject object : mObjectList){ object.draw(gl); } } public void onSurfaceChanged(GL10 gl, int width, int height) { gl.glViewport(0, 0, width, height); mWidth = width; mHeight = height; for (DrawableObject object : mObjectList){ object.setScreen(height, width); } } public void onSurfaceCreated(GL10 gl, EGLConfig config) { gl.glMatrixMode(GL10.GL_PROJECTION); gl.glLoadIdentity(); gl.glOrthof(0.0f, 1.0f, 0.0f, 1.0f, -1.0f, 1.0f); gl.glMatrixMode(GL10.GL_MODELVIEW); gl.glEnable(GL10.GL_TEXTURE_2D); gl.glEnable(GL10.GL_BLEND); gl.glBlendFunc(GL10.GL_SRC_ALPHA, GL10.GL_ONE_MINUS_SRC_ALPHA); gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY); mObjectList = new DrawableObject[2]; mObjectList[0] = new DrawableObject(mContext,gl,R.drawable.heli_top, mWidth, mHeight,1); mObjectList[1] = new DrawableObject(mContext,gl,R.drawable.heli_top, mWidth, mHeight,2); } private float mRed = 0.2f; private float mGreen; private float mBlue = 0.2f; private int mHeight; private int mWidth; private Context mContext; public DrawableObject mObjectList[]; }