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