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.demo.android.autotest; import android.app.Activity; import android.content.Intent; import android.media.AudioManager; import android.media.MediaPlayer; import android.media.MediaPlayer.OnCompletionListener; import android.os.Bundle; import android.util.Log; import android.widget.MediaController; import android.widget.TextView; import android.widget.VideoView; public class PlayMedia extends Activity { private TextView _tv=null; private String _moduleName="PlayMedia"; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //_tv = new TextView(this); setContentView(R.layout.video); VideoView vv = (VideoView) findViewById(R.id.videoview_main); MediaController mc=new MediaController(this); mc.setEnabled(true); mc.show(0); vv.setMediaController(mc); try { String path="/storage/sample.wmv"; PlayMedia(vv,path); vv.setOnCompletionListener(new OnCompletionListener(){ // @Override public void onCompletion(MediaPlayer arg0) { // File has ended !!! try { Log.e("debug","MediaPlayer seek to 0..."); arg0.seekTo(0); Log.e("debug","MediaPlayer start..."); arg0.start(); Log.e("debug","MediaPlayer started"); } catch(Exception ex) { Log.e("debug","MediaPlayer error: "+ex.toString()); } } }); } catch(Exception ex) { _tv.append("Error:"+_moduleName+" ("+ex.toString()+")\r\n"); Log.e("debug",ex.toString()); } } public void PlayMedia(VideoView vv,String path) throws Exception { try { Log.e("debug","set video path..."); vv.setVideoPath(path); Log.e("debug","set request focus..."); vv.requestFocus(); Log.e("debug","show context menu..."); vv.showContextMenu(); Log.e("debug","start..."); vv.start(); } catch(Exception ex) { throw ex; } } }