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.android; import java.io.IOException; import android.app.Activity; import android.content.ContentValues; 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; public class rococo extends Activity implements OnClickListener { Button record; Button stop; Button play; MediaRecorder recorder = new MediaRecorder(); ContentValues values = new ContentValues(3); /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); record = (Button)this.findViewById(R.id.record); record.setOnClickListener(this); stop = (Button)this.findViewById(R.id.stop); stop.setOnClickListener(this); play = (Button)this.findViewById(R.id.play); play.setOnClickListener(this); } public void record(){ recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); recorder.setOutputFile("/sdcard/test.3gpp"); recorder.prepare(); recorder.start(); } public void stop(){ recorder.stop(); recorder.release(); } public void play() throws IllegalArgumentException, IllegalStateException, IOException{ MediaPlayer mp = new MediaPlayer(); mp.setDataSource("/sdcard/test.3gpp"); mp.prepare(); mp.start(); } @Override public void onClick(View v) { // TODO Auto-generated method stub if (v==record) { record(); } if (v==stop){ stop(); } if (v==play){ try { play(); } catch (IllegalArgumentException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IllegalStateException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } } }