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.goodcausegames.android.sldroid; import android.app.Activity; import android.content.Context; import android.hardware.SensorListener; import android.hardware.SensorManager; import android.os.Bundle; import android.widget.TextView; public class sldroid extends Activity{ private TextView mTxtView; private SensorManager mSensorManager; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); mTxtView = new TextView(this); setContentView(mTxtView); mSensorManager = (SensorManager)getSystemService(Context.SENSOR_SERVICE); } public void updateTV(float p_x, float p_y, float p_z) { mTxtView.setText("x: "+Math.round(p_x)+", y: "+Math.round(p_y)+", z: "+Math.round(p_z)); } private final SensorListener mSensorListener = new SensorListener() { public void onSensorChanged(int sensor, float[] values) { updateTV(values[SensorManager.DATA_X], values[SensorManager.DATA_Y], values[SensorManager.DATA_Z]); } public void onAccuracyChanged(int sensor, int accuracy) {} }; @Override protected void onResume() { super.onResume(); mSensorManager.registerListener(mSensorListener, SensorManager.SENSOR_ORIENTATION, SensorManager.SENSOR_DELAY_GAME); } @Override protected void onStop() { mSensorManager.unregisterListener(mSensorListener); super.onStop(); } }