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)
AudioRecord ar; boolean running; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); running = false; int src = AudioSource.MIC; int sr = 44100; int ch = AudioFormat.CHANNEL_CONFIGURATION_DEFAULT; int af = AudioFormat.ENCODING_PCM_16BIT; try { ar = new AudioRecord(src,sr,ch,af,AudioRecord.getMinBufferSize(sr, ch, af)); startListening(); } catch (Exception e) { e.printStackTrace(); } } public void startListening() { ar.startRecording(); Thread t = new Thread() { public void run() { int test = 2; test++; for (int y = 0; y < 5; y ++) { short[] sho = new short[1]; sho[0] = 10; int x = ar.read(sho, 256, 256); if (x > 0) tHandler.sendMessage(Message.obtain(tHandler, 1)); } } }; t.start(); } private Handler tHandler = new Handler() { @Override public void handleMessage(Message msg) { switch (msg.what) { case 1: TextView tv = (TextView)findViewById(R.id.textLabel); tv.setText("High"); ar.stop(); break; } } };