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.sample.recorder; import android.app.Activity; import android.media.MediaPlayer; import android.media.MediaRecorder; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.Toast; public class Test extends Activity implements OnClickListener { @Override public void onCreate(Bundle icici) { super.onCreate(icici); setContentView(R.layout.record); Button stop = (Button) findViewById(R.id.stop); stop.setOnClickListener(this); Button rec = (Button) findViewById(R.id.rec); rec.setOnClickListener(this); Button play = (Button) findViewById(R.id.play); play.setOnClickListener(this); } @Override public void onClick(View v) { int id = v.getId(); String PATH_NAME = "/sdcard/Music/Records"; MediaRecorder mRecorder = new MediaRecorder(); MediaPlayer mp; mp = MediaPlayer.create(getBaseContext(), R.raw.test_cbr); if(id == R.id.rec) { mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); mRecorder.setOutputFile(PATH_NAME); try { mRecorder.prepare(); } catch(Exception e) { } mRecorder.start(); } else if(id == R.id.play) { mp.start(); } else if(id == R.id.stop) { mp.stop(); mp.release(); mRecorder.stop(); Toast.makeText(getBaseContext(),"cello...",Toast.LENGTH_SHORT); mRecorder.release(); } } }