Android/VideoView/他ボタン
提供: 初心者エンジニアの簡易メモ
2018年10月26日 (金) 19:20時点におけるAdmin (トーク | 投稿記録)による版 (ページの作成:「==リプレイ== Button btnReplay = (Button)findViewById(R.id.button04); btnReplay.setOnClickListener(new View.OnClickListener() { public void...」)
リプレイ
Button btnReplay = (Button)findViewById(R.id.button04);
btnReplay.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
mVideoView.seekTo(0);
mVideoView.start(); // 再度createTrackThreadが実行される
}
});
